#D8427F#D8427F
#D8427F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.192 H 359.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D8427F |
|---|---|
| RGB | rgb(216, 66, 127) |
| HSL | hsl(336, 66%, 55%) |
| HSV | hsv(336, 69%, 85%) |
| CMYK | cmyk(0%, 69.4%, 41.2%, 15.3%) |
| CIE-LAB | lab(51.87, 62.73, -0.59) |
| CIE-LCH | lch(51.87, 62.73, 359.46°) |
| OKLab | oklab(61.03% 0.1922 -0.0008) |
| OKLCH | oklch(61.03% 0.192 359.8) |
| XYZ | xyz(34.1003, 20.0319, 22.1454) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 1.40
Dark Pink
#CB416B
ΔE00 4.87
Strong Pink
#FF0789
ΔE00 6.08
Blush
#DE5D83
ΔE00 6.12
Rose
#FF007F
ΔE00 6.15
Hot Pink (survey)
#FF028D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8427F #42D89B
analogous
#D842CA #D8427F #D85042
triadic
#D8427F #7FD842 #427FD8
tetradic
#D8427F #CAD842 #42D89B #5042D8
square
#D8427F #CAD842 #42D89B #5042D8
split-complementary
#D8427F #42D850 #42CAD8
monochromatic
#841B46 #B72661 #D8427F #E275A1 #EDA7C4
Accessibility & contrast
On white
4.20
#D8427F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#D8427F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8427F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8427F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8427F | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#616981
Deuteranopia (green-blind)
#89867C
Tritanopia (blue-blind)
#EA2F5B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #d8427f; /* rgb */ color: rgb(216, 66, 127); /* oklch */ color: oklch(61.0% 0.192 359.8);
Tailwind
colors: {
custom: {
50: '#e981a4',
500: '#d8427f',
950: '#000000',
},
}SCSS
$custom: #d8427f; $custom-light: #e981a4; $custom-dark: #000000;
JSON
{
"hex": "#d8427f",
"rgb": {
"r": 216,
"g": 66,
"b": 127
},
"hsl": {
"h": 335.6,
"s": 65.789,
"l": 55.294
},
"oklch": {
"l": 0.61025,
"c": 0.19224,
"h": 359.8
},
"luminance": 0.20028
}Semantic roles & 50–950 ramp
primary
#D8427F
secondary
#9CDAC1
accent
#E9A43F
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F