#D8406F#D8406F
#D8406F is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.190 H 6.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D8406F |
|---|---|
| RGB | rgb(216, 64, 111) |
| HSL | hsl(341, 66%, 55%) |
| HSV | hsv(341, 70%, 85%) |
| CMYK | cmyk(0%, 70.4%, 48.6%, 15.3%) |
| CIE-LAB | lab(51.17, 61.97, 8.03) |
| CIE-LCH | lch(51.17, 62.49, 7.38°) |
| OKLab | oklab(60.36% 0.189 0.021) |
| OKLCH | oklch(60.36% 0.19 6.3) |
| XYZ | xyz(33.0243, 19.4178, 17.0448) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.58
Cherry
#DE3163
ΔE00 3.05
Darkish Pink
#DA467D
ΔE00 3.22
Deep Rose
#C74767
ΔE00 3.40
Cerise
#DE0C62
ΔE00 4.60
Raspberry
#E30B5C
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8406F #40D8A9
analogous
#D840BB #D8406F #D85D40
triadic
#D8406F #6FD840 #406FD8
tetradic
#D8406F #BBD840 #40D8A9 #5D40D8
square
#D8406F #BBD840 #40D8A9 #5D40D8
split-complementary
#D8406F #40D85D #40BBD8
monochromatic
#831B3B #B62552 #D8406F #E27395 #EDA6BC
Accessibility & contrast
On white
4.30
#D8406F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#D8406F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8406F
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8406F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8406F | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636770
Deuteranopia (green-blind)
#8B856B
Tritanopia (blue-blind)
#EB2453
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d8406f; /* rgb */ color: rgb(216, 64, 111); /* oklch */ color: oklch(60.4% 0.190 6.3);
Tailwind
colors: {
custom: {
50: '#ea8098',
500: '#d8406f',
950: '#000000',
},
}SCSS
$custom: #d8406f; $custom-light: #ea8098; $custom-dark: #000000;
JSON
{
"hex": "#d8406f",
"rgb": {
"r": 216,
"g": 64,
"b": 111
},
"hsl": {
"h": 341.447,
"s": 66.087,
"l": 54.902
},
"oklch": {
"l": 0.60364,
"c": 0.1902,
"h": 6.3
},
"luminance": 0.19413
}Semantic roles & 50–950 ramp
primary
#D8406F
secondary
#9ADAC6
accent
#E9B43F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E