#D42E99#D42E99
#D42E99 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.222 H 346.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D42E99 |
|---|---|
| RGB | rgb(212, 46, 153) |
| HSL | hsl(321, 66%, 51%) |
| HSV | hsv(321, 78%, 83%) |
| CMYK | cmyk(0%, 78.3%, 27.8%, 16.9%) |
| CIE-LAB | lab(49.80, 70.88, -19.34) |
| CIE-LCH | lch(49.80, 73.47, 344.74°) |
| OKLab | oklab(59.67% 0.2159 -0.0512) |
| OKLCH | oklch(59.67% 0.222 346.7) |
| XYZ | xyz(33.8798, 18.2548, 31.8702) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.18
Purpley Pink
#C83CB9
ΔE00 6.83
Shocking Pink
#FE02A2
ΔE00 7.28
Bright Pink
#FE01B1
ΔE00 7.45
Neon Pink
#FE019A
ΔE00 7.61
Magenta (survey)
#C20078
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42E99 #2ED469
analogous
#BC2ED4 #D42E99 #D42E46
triadic
#D42E99 #99D42E #2E99D4
tetradic
#D42E99 #D4BC2E #2ED469 #2E46D4
square
#D42E99 #D4BC2E #2ED469 #2E46D4
split-complementary
#D42E99 #46D42E #2ED4BC
monochromatic
#701751 #A32275 #D42E99 #DE61B2 #E994CB
Accessibility & contrast
On white
4.52
#D42E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#D42E99 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D42E99
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42E99 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D42E99 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47649C
Deuteranopia (green-blind)
#798195
Tritanopia (blue-blind)
#E32861
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #d42e99; /* rgb */ color: rgb(212, 46, 153); /* oklch */ color: oklch(59.7% 0.222 346.7);
Tailwind
colors: {
custom: {
50: '#e679b7',
500: '#d42e99',
950: '#000000',
},
}SCSS
$custom: #d42e99; $custom-light: #e679b7; $custom-dark: #000000;
JSON
{
"hex": "#d42e99",
"rgb": {
"r": 212,
"g": 46,
"b": 153
},
"hsl": {
"h": 321.325,
"s": 65.873,
"l": 50.588
},
"oklch": {
"l": 0.59674,
"c": 0.22184,
"h": 346.7
},
"luminance": 0.18251
}Semantic roles & 50–950 ramp
primary
#D42E99
secondary
#8AD4A4
accent
#E97B3F
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#170A11
muted
#857C80