#D04F8D#D04F8D
#D04F8D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.174 H 353.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #D04F8D |
|---|---|
| RGB | rgb(208, 79, 141) |
| HSL | hsl(331, 58%, 56%) |
| HSV | hsv(331, 62%, 82%) |
| CMYK | cmyk(0%, 62%, 32.2%, 18.4%) |
| CIE-LAB | lab(52.87, 56.74, -7.62) |
| CIE-LCH | lch(52.87, 57.25, 352.35°) |
| OKLab | oklab(61.65% 0.1729 -0.0194) |
| OKLCH | oklch(61.65% 0.174 353.6) |
| XYZ | xyz(33.6178, 20.9285, 27.4633) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.54
Blush
#DE5D83
ΔE00 7.08
Purplish Pink
#CE5DAE
ΔE00 7.18
Pale Magenta
#D767AD
ΔE00 7.40
Deeppink
#FF1493
ΔE00 7.42
Neon Pink
#FE019A
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04F8D #4FD092
analogous
#D04FCE #D04F8D #D0524F
triadic
#D04F8D #8DD04F #4F8DD0
tetradic
#D04F8D #CED04F #4FD092 #524FD0
square
#D04F8D #CED04F #4FD092 #524FD0
split-complementary
#D04F8D #4FD052 #4FCED0
monochromatic
#822350 #B2306E #D04F8D #DD7FAC #EAB0CC
Accessibility & contrast
On white
4.05
#D04F8D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#D04F8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04F8D
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04F8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04F8D | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636F8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#DF4768
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d04f8d; /* rgb */ color: rgb(208, 79, 141); /* oklch */ color: oklch(61.7% 0.174 353.6);
Tailwind
colors: {
custom: {
50: '#e287ae',
500: '#d04f8d',
950: '#000000',
},
}SCSS
$custom: #d04f8d; $custom-light: #e287ae; $custom-dark: #000000;
JSON
{
"hex": "#d04f8d",
"rgb": {
"r": 208,
"g": 79,
"b": 141
},
"hsl": {
"h": 331.163,
"s": 57.848,
"l": 56.275
},
"oklch": {
"l": 0.61654,
"c": 0.17401,
"h": 353.6
},
"luminance": 0.20925
}Semantic roles & 50–950 ramp
primary
#D04F8D
secondary
#A3D8BE
accent
#E19747
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F