#D4478B#D4478B
#D4478B is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.187 H 354.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #D4478B |
|---|---|
| RGB | rgb(212, 71, 139) |
| HSL | hsl(331, 62%, 55%) |
| HSV | hsv(331, 67%, 83%) |
| CMYK | cmyk(0%, 66.5%, 34.4%, 16.9%) |
| CIE-LAB | lab(52.25, 60.97, -7.28) |
| CIE-LCH | lch(52.25, 61.40, 353.19°) |
| OKLab | oklab(61.3% 0.1864 -0.0185) |
| OKLCH | oklch(61.3% 0.187 354.3) |
| XYZ | xyz(34.0668, 20.3715, 26.5591) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.08
Deeppink
#FF1493
ΔE00 6.67
Electric Pink
#FF0490
ΔE00 6.67
Neon Pink
#FE019A
ΔE00 6.68
Hot Pink (survey)
#FF028D
ΔE00 6.75
Strong Pink
#FF0789
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4478B #47D490
analogous
#D447D1 #D4478B #D44947
triadic
#D4478B #8BD447 #478BD4
tetradic
#D4478B #D1D447 #47D490 #4947D4
square
#D4478B #D1D447 #47D490 #4947D4
split-complementary
#D4478B #47D449 #47D1D4
monochromatic
#821E4F #B42A6C #D4478B #E079AA #EBAACA
Accessibility & contrast
On white
4.14
#D4478B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#D4478B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D4478B
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4478B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4478B | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6C8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#E43C63
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #d4478b; /* rgb */ color: rgb(212, 71, 139); /* oklch */ color: oklch(61.3% 0.187 354.3);
Tailwind
colors: {
custom: {
50: '#e683ac',
500: '#d4478b',
950: '#000000',
},
}SCSS
$custom: #d4478b; $custom-light: #e683ac; $custom-dark: #000000;
JSON
{
"hex": "#d4478b",
"rgb": {
"r": 212,
"g": 71,
"b": 139
},
"hsl": {
"h": 331.064,
"s": 62.115,
"l": 55.49
},
"oklch": {
"l": 0.61301,
"c": 0.1873,
"h": 354.3
},
"luminance": 0.20368
}Semantic roles & 50–950 ramp
primary
#D4478B
secondary
#9ED9BC
accent
#E59743
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F