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
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.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#CA1F7B
Base
#1FCA6E
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#CA1F7B
Base
#C41FCA
#CA1F25
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#CA1F7B
Base
#7BCA1F
#1F7BCA
Two colors flanking the complement — high contrast with less tension than full complementary.
#CA1F7B
Base
#25CA1F
#1FCAC4
Four colors at 90° intervals — rich variety, best when one color dominates.
#CA1F7B
Base
#CAC41F
#1FCA6E
#1F25CA
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#CA1F7B
Base
#450B2A
#881553
#A71A65
#E0328F
#E451A0
#EF93C4
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
#CA1F7B
Base
#E13A94
#E866AC
#EE92C3
#F5BDDB
#FCE9F3
Ready-to-use code snippets for #CA1F7B. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #CA1F7B;
}
/* Text */
.element {
color: #CA1F7B;
}
/* Border */
.element {
border: 1px solid #CA1F7B;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#CA1F7B,
#9DF7C7
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#CA1F7B,
#9DF7C7
);
}
// 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);
}
How Magenta (dye) appears to people with different types of color vision deficiency.
#CA1F7B
How the color appears with full color vision.
#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.
#4E4E7C
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#C63636
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#6C6C6C
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.