#D04D7C#D04D7C
#D04D7C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.170 H 1.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D04D7C |
|---|---|
| RGB | rgb(208, 77, 124) |
| HSL | hsl(338, 58%, 56%) |
| HSV | hsv(338, 63%, 82%) |
| CMYK | cmyk(0%, 63%, 40.4%, 18.4%) |
| CIE-LAB | lab(52.04, 55.68, 1.28) |
| CIE-LCH | lch(52.04, 55.70, 1.32°) |
| OKLab | oklab(60.86% 0.1701 0.004) |
| OKLCH | oklch(60.86% 0.17 1.3) |
| XYZ | xyz(32.3065, 20.1766, 21.2580) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.77
Dark Pink
#CB416B
ΔE00 4.14
Blush
#DE5D83
ΔE00 5.13
Deep Rose
#C74767
ΔE00 5.14
Cherry
#DE3163
ΔE00 6.63
Rose (survey)
#CF6275
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04D7C #4DD0A1
analogous
#D04DBD #D04D7C #D05F4D
triadic
#D04D7C #7CD04D #4D7CD0
tetradic
#D04D7C #BDD04D #4DD0A1 #5F4DD0
square
#D04D7C #BDD04D #4DD0A1 #5F4DD0
split-complementary
#D04D7C #4DD05F #4DBDD0
monochromatic
#812244 #B12F5D #D04D7C #DD7DA0 #EAAEC3
Accessibility & contrast
On white
4.17
#D04D7C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#D04D7C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04D7C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04D7C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04D7C | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666C7D
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#E13F5F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #d04d7c; /* rgb */ color: rgb(208, 77, 124); /* oklch */ color: oklch(60.9% 0.170 1.3);
Tailwind
colors: {
custom: {
50: '#e386a1',
500: '#d04d7c',
950: '#000000',
},
}SCSS
$custom: #d04d7c; $custom-light: #e386a1; $custom-dark: #000000;
JSON
{
"hex": "#d04d7c",
"rgb": {
"r": 208,
"g": 77,
"b": 124
},
"hsl": {
"h": 338.473,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.60864,
"c": 0.17017,
"h": 1.3
},
"luminance": 0.20173
}Semantic roles & 50–950 ramp
primary
#D04D7C
secondary
#A1D8C4
accent
#E1AA46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E