#D04D7D#D04D7D
#D04D7D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.170 H 0.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D04D7D |
|---|---|
| RGB | rgb(208, 77, 125) |
| HSL | hsl(338, 58%, 56%) |
| HSV | hsv(338, 63%, 82%) |
| CMYK | cmyk(0%, 63%, 39.9%, 18.4%) |
| CIE-LAB | lab(52.06, 55.79, 0.72) |
| CIE-LCH | lch(52.06, 55.79, 0.74°) |
| OKLab | oklab(60.89% 0.1705 0.0026) |
| OKLCH | oklch(60.89% 0.17 0.9) |
| XYZ | xyz(32.3701, 20.2021, 21.5928) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.78
Dark Pink
#CB416B
ΔE00 4.34
Blush
#DE5D83
ΔE00 5.20
Deep Rose
#C74767
ΔE00 5.38
Cherry
#DE3163
ΔE00 6.85
Rose (survey)
#CF6275
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04D7D #4DD0A0
analogous
#D04DBE #D04D7D #D05E4D
triadic
#D04D7D #7DD04D #4D7DD0
tetradic
#D04D7D #BED04D #4DD0A0 #5E4DD0
square
#D04D7D #BED04D #4DD0A0 #5E4DD0
split-complementary
#D04D7D #4DD05E #4DBED0
monochromatic
#812245 #B12F5E #D04D7D #DD7DA0 #EAAEC4
Accessibility & contrast
On white
4.17
#D04D7D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#D04D7D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04D7D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04D7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04D7D | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#89857A
Tritanopia (blue-blind)
#E13F60
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #d04d7d; /* rgb */ color: rgb(208, 77, 125); /* oklch */ color: oklch(60.9% 0.170 0.9);
Tailwind
colors: {
custom: {
50: '#e386a2',
500: '#d04d7d',
950: '#000000',
},
}SCSS
$custom: #d04d7d; $custom-light: #e386a2; $custom-dark: #000000;
JSON
{
"hex": "#d04d7d",
"rgb": {
"r": 208,
"g": 77,
"b": 125
},
"hsl": {
"h": 338.015,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.60894,
"c": 0.17049,
"h": 0.9
},
"luminance": 0.20198
}Semantic roles & 50–950 ramp
primary
#D04D7D
secondary
#A1D8C4
accent
#E1A946
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E