#D8438B#D8438B
#D8438B is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.196 H 354.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #D8438B |
|---|---|
| RGB | rgb(216, 67, 139) |
| HSL | hsl(331, 66%, 55%) |
| HSV | hsv(331, 69%, 85%) |
| CMYK | cmyk(0%, 69%, 35.6%, 15.3%) |
| CIE-LAB | lab(52.38, 63.61, -7.03) |
| CIE-LCH | lch(52.38, 64.00, 353.70°) |
| OKLab | oklab(61.52% 0.1948 -0.0177) |
| OKLCH | oklch(61.52% 0.196 354.8) |
| XYZ | xyz(34.9884, 20.4814, 26.5319) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.92
Electric Pink
#FF0490
ΔE00 5.99
Deeppink
#FF1493
ΔE00 6.01
Neon Pink
#FE019A
ΔE00 6.05
Hot Pink (survey)
#FF028D
ΔE00 6.06
Strong Pink
#FF0789
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8438B #43D890
analogous
#D843D5 #D8438B #D84543
triadic
#D8438B #8BD843 #438BD8
tetradic
#D8438B #D5D843 #43D890 #4543D8
square
#D8438B #D5D843 #43D890 #4543D8
split-complementary
#D8438B #43D845 #43D5D8
monochromatic
#851C4F #B8266C #D8438B #E376AA #EDA8CA
Accessibility & contrast
On white
4.12
#D8438B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#D8438B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8438B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8438B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8438B | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6B8D
Deuteranopia (green-blind)
#878788
Tritanopia (blue-blind)
#E93661
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d8438b; /* rgb */ color: rgb(216, 67, 139); /* oklch */ color: oklch(61.5% 0.196 354.8);
Tailwind
colors: {
custom: {
50: '#e982ac',
500: '#d8438b',
950: '#000000',
},
}SCSS
$custom: #d8438b; $custom-light: #e982ac; $custom-dark: #000000;
JSON
{
"hex": "#d8438b",
"rgb": {
"r": 216,
"g": 67,
"b": 139
},
"hsl": {
"h": 331.007,
"s": 65.639,
"l": 55.49
},
"oklch": {
"l": 0.61518,
"c": 0.1956,
"h": 354.8
},
"luminance": 0.20477
}Semantic roles & 50–950 ramp
primary
#D8438B
secondary
#9CDABC
accent
#E9973F
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F