#D02557#D02557
#D02557 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.2% C 0.204 H 11.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D02557 |
|---|---|
| RGB | rgb(208, 37, 87) |
| HSL | hsl(342, 70%, 48%) |
| HSV | hsv(342, 82%, 82%) |
| CMYK | cmyk(0%, 82.2%, 58.2%, 18.4%) |
| CIE-LAB | lab(46.21, 66.11, 15.55) |
| CIE-LCH | lch(46.21, 67.91, 13.24°) |
| OKLab | oklab(56.25% 0.2001 0.0387) |
| OKLCH | oklch(56.25% 0.204 11) |
| XYZ | xyz(28.3972, 15.4254, 10.4971) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 2.41
Raspberry
#E30B5C
ΔE00 3.27
Cerise
#DE0C62
ΔE00 3.45
Ruby
#CA0147
ΔE00 3.92
Cherry
#DE3163
ΔE00 4.09
Dark Hot Pink
#D90166
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D02557 #25D09E
analogous
#D025AC #D02557 #D04825
triadic
#D02557 #57D025 #2557D0
tetradic
#D02557 #ACD025 #25D09E #4825D0
square
#D02557 #ACD025 #25D09E #4825D0
split-complementary
#D02557 #25D048 #25ACD0
monochromatic
#68132C #9C1C41 #D02557 #E0527C #E986A3
Accessibility & contrast
On white
5.14
#D02557 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#D02557 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D02557
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D02557 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D02557 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575758
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#E4003C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d02557; /* rgb */ color: rgb(208, 37, 87); /* oklch */ color: oklch(56.2% 0.204 11.0);
Tailwind
colors: {
custom: {
50: '#e67386',
500: '#d02557',
950: '#000000',
},
}SCSS
$custom: #d02557; $custom-light: #e67386; $custom-dark: #000000;
JSON
{
"hex": "#d02557",
"rgb": {
"r": 208,
"g": 37,
"b": 87
},
"hsl": {
"h": 342.456,
"s": 69.796,
"l": 48.039
},
"oklch": {
"l": 0.56248,
"c": 0.20385,
"h": 11
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#D02557
secondary
#7ED3BA
accent
#EDB93B
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#17090B
muted
#857B7C