Magenta (dye) (#CA1F7B)

HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.

Preview

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
Contrast vs white: 5.26:1 — vs black: 3.99:1

Color values

  • HEX #CA1F7B
  • RGB rgb(202, 31, 123)
  • HSL hsl(327, 84%, 79%)
  • CMYK cmyk( 0, 84.65, 39.11, 20.78 )

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #CA1F7B based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Magenta (dye)
#CA1F7B Base
#1FCA6E
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Magenta (dye)
#CA1F7B Base
#C41FCA
#CA1F25
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Magenta (dye)
#CA1F7B Base
#7BCA1F
#1F7BCA
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Magenta (dye)
#CA1F7B Base
#25CA1F
#1FCAC4
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Magenta (dye)
#CA1F7B Base
#CAC41F
#1FCA6E
#1F25CA
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Magenta (dye)
#CA1F7B Base
#450B2A
#881553
#A71A65
#E0328F
#E451A0
#EF93C4
Shades & Tints

Darker shades and lighter tints of Magenta (dye), generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#16030D
#3A0923
#5E0E39
#82144F
#A61965
Magenta (dye) #CA1F7B Base
#E13A94
#E866AC
#EE92C3
#F5BDDB
#FCE9F3
CSS & SCSS Snippets

Ready-to-use code snippets for #CA1F7B. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #CA1F7B;
}

/* Text */
.element {
    color: #CA1F7B;
}

/* Border */
.element {
    border: 1px solid #CA1F7B;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #CA1F7B,
        #9DF7C7
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #CA1F7B,
        #9DF7C7
    );
}
SCSS Variable
// SCSS variable
$magenta-(dye): #CA1F7B;

// With RGB channels (useful for rgba() usage)
$magenta-(dye)-r: 202;
$magenta-(dye)-g: 31;
$magenta-(dye)-b: 123;

// Usage
.element {
    background-color: $magenta-(dye);
    color: rgba($magenta-(dye)-r, $magenta-(dye)-g, $magenta-(dye)-b, 0.8);
}
Color Blindness Simulation

How Magenta (dye) appears to people with different types of color vision deficiency.

Normal Vision #CA1F7B How the color appears with full color vision.
Deuteranopia #767677 Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
Protanopia #4E4E7C Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #C63636 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #6C6C6C Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Magenta (dye) ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Magenta (dye) #CA1F7B Base
Red Violet #C71585 ΔE 2.99
Vivid Cerise #DA1D81 ΔE 3.32
Magenta-pink #CC338B ΔE 3.65
Fuchsia Purple #CC397B ΔE 3.72

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.