#D8487C#D8487C
#D8487C is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.184 H 2.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D8487C |
|---|---|
| RGB | rgb(216, 72, 124) |
| HSL | hsl(338, 65%, 56%) |
| HSV | hsv(338, 67%, 85%) |
| CMYK | cmyk(0%, 66.7%, 42.6%, 15.3%) |
| CIE-LAB | lab(52.61, 60.16, 2.28) |
| CIE-LCH | lch(52.61, 60.20, 2.17°) |
| OKLab | oklab(61.54% 0.184 0.0066) |
| OKLCH | oklch(61.54% 0.184 2) |
| XYZ | xyz(34.2768, 20.6931, 21.2540) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 0.45
Dark Pink
#CB416B
ΔE00 4.39
Blush
#DE5D83
ΔE00 4.78
Deep Rose
#C74767
ΔE00 5.50
Cherry
#DE3163
ΔE00 5.99
Rose
#FF007F
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8487C #48D8A4
analogous
#D848C4 #D8487C #D85C48
triadic
#D8487C #7CD848 #487CD8
tetradic
#D8487C #C4D848 #48D8A4 #5C48D8
square
#D8487C #C4D848 #48D8A4 #5C48D8
split-complementary
#D8487C #48D85C #48C4D8
monochromatic
#891D44 #BB285D #D8487C #E37AA0 #EEADC4
Accessibility & contrast
On white
4.09
#D8487C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#D8487C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8487C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8487C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8487C | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#EA355D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #d8487c; /* rgb */ color: rgb(216, 72, 124); /* oklch */ color: oklch(61.5% 0.184 2.0);
Tailwind
colors: {
custom: {
50: '#e984a1',
500: '#d8487c',
950: '#000000',
},
}SCSS
$custom: #d8487c; $custom-light: #e984a1; $custom-dark: #000000;
JSON
{
"hex": "#d8487c",
"rgb": {
"r": 216,
"g": 72,
"b": 124
},
"hsl": {
"h": 338.333,
"s": 64.865,
"l": 56.471
},
"oklch": {
"l": 0.61543,
"c": 0.18412,
"h": 2
},
"luminance": 0.20689
}Semantic roles & 50–950 ramp
primary
#D8487C
secondary
#A0DBC6
accent
#E8AB40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E