#D42E6F#D42E6F
#D42E6F is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.2% C 0.205 H 3.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D42E6F |
|---|---|
| RGB | rgb(212, 46, 111) |
| HSL | hsl(337, 66%, 51%) |
| HSV | hsv(337, 78%, 83%) |
| CMYK | cmyk(0%, 78.3%, 47.6%, 16.9%) |
| CIE-LAB | lab(48.39, 66.63, 3.95) |
| CIE-LCH | lch(48.39, 66.75, 3.39°) |
| OKLab | oklab(58.18% 0.2043 0.0108) |
| OKLCH | oklch(58.18% 0.205 3) |
| XYZ | xyz(31.0003, 17.1030, 16.7047) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 2.79
Dark Pink
#CB416B
ΔE00 3.00
Cerise
#DE0C62
ΔE00 3.56
Darkish Pink
#DA467D
ΔE00 4.58
Deep Pink
#CB0162
ΔE00 4.68
Deep Rose
#C74767
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42E6F #2ED493
analogous
#D42EC2 #D42E6F #D4402E
triadic
#D42E6F #6FD42E #2E6FD4
tetradic
#D42E6F #C2D42E #2ED493 #402ED4
square
#D42E6F #C2D42E #2ED493 #402ED4
split-complementary
#D42E6F #2ED440 #2EC2D4
monochromatic
#70173A #A32254 #D42E6F #DE6192 #E994B5
Accessibility & contrast
On white
4.75
#D42E6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#D42E6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42E6F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42E6F | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585E70
Deuteranopia (green-blind)
#847E6B
Tritanopia (blue-blind)
#E7004B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #d42e6f; /* rgb */ color: rgb(212, 46, 111); /* oklch */ color: oklch(58.2% 0.205 3.0);
Tailwind
colors: {
custom: {
50: '#e87798',
500: '#d42e6f',
950: '#000000',
},
}SCSS
$custom: #d42e6f; $custom-light: #e87798; $custom-dark: #000000;
JSON
{
"hex": "#d42e6f",
"rgb": {
"r": 212,
"g": 46,
"b": 111
},
"hsl": {
"h": 336.506,
"s": 65.873,
"l": 50.588
},
"oklch": {
"l": 0.5818,
"c": 0.20462,
"h": 3
},
"luminance": 0.17099
}Semantic roles & 50–950 ramp
primary
#D42E6F
secondary
#8AD4B7
accent
#E9A63F
background
#FFF7F9
surface
#FEEEF2
border
#D6C9CC
text
#170A0D
muted
#857C7E