#D1478A#D1478A
#D1478A is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.184 H 354.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D1478A |
|---|---|
| RGB | rgb(209, 71, 138) |
| HSL | hsl(331, 60%, 55%) |
| HSV | hsv(331, 66%, 82%) |
| CMYK | cmyk(0%, 66%, 34%, 18%) |
| CIE-LAB | lab(51.72, 59.99, -7.53) |
| CIE-LCH | lch(51.72, 60.46, 352.85°) |
| OKLab | oklab(60.81% 0.1833 -0.0191) |
| OKLCH | oklch(60.81% 0.184 354) |
| XYZ | xyz(33.1370, 19.9005, 26.1359) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.32
Neon Pink
#FE019A
ΔE00 7.15
Electric Pink
#FF0490
ΔE00 7.17
Deeppink
#FF1493
ΔE00 7.19
Hot Pink (survey)
#FF028D
ΔE00 7.25
Dark Pink
#CB416B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1478A #47D18E
analogous
#D147CF #D1478A #D14947
triadic
#D1478A #8AD147 #478AD1
tetradic
#D1478A #CFD147 #47D18E #4947D1
square
#D1478A #CFD147 #47D18E #4947D1
split-complementary
#D1478A #47D149 #47CFD1
monochromatic
#7E204D #AF2C6B #D1478A #DD78A9 #E9A9C8
Accessibility & contrast
On white
4.22
#D1478A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#D1478A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D1478A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1478A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1478A | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#E13D63
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #d1478a; /* rgb */ color: rgb(209, 71, 138); /* oklch */ color: oklch(60.8% 0.184 354.0);
Tailwind
colors: {
custom: {
50: '#e383ac',
500: '#d1478a',
950: '#000000',
},
}SCSS
$custom: #d1478a; $custom-light: #e383ac; $custom-dark: #000000;
JSON
{
"hex": "#d1478a",
"rgb": {
"r": 209,
"g": 71,
"b": 138
},
"hsl": {
"h": 330.87,
"s": 60,
"l": 54.902
},
"oklch": {
"l": 0.60805,
"c": 0.18432,
"h": 354
},
"luminance": 0.19897
}Semantic roles & 50–950 ramp
primary
#D1478A
secondary
#9DD7BB
accent
#E39645
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F