Lipstick#D5174E
#D5174E is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.215 H 13.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #D5174E |
|---|---|
| RGB | rgb(213, 23, 78) |
| HSL | hsl(343, 81%, 46%) |
| HSV | hsv(343, 89%, 84%) |
| CMYK | cmyk(0%, 89.2%, 63.4%, 16.5%) |
| CIE-LAB | lab(46.06, 69.59, 21.10) |
| CIE-LCH | lch(46.06, 72.72, 16.86°) |
| OKLab | oklab(56.25% 0.2091 0.051) |
| OKLCH | oklch(56.25% 0.215 13.7) |
| XYZ | xyz(29.1254, 15.3136, 8.6285) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lipstick
#D5174E
ΔE00 0.00
Ruby
#CA0147
ΔE00 3.05
Raspberry
#E30B5C
ΔE00 3.85
Cerise
#DE0C62
ΔE00 5.08
Cherry
#DE3163
ΔE00 5.15
Cardinal
#C41E3A
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5174E #17D59E
analogous
#D517AD #D5174E #D53F17
triadic
#D5174E #4ED517 #174ED5
tetradic
#D5174E #ADD517 #17D59E #3F17D5
square
#D5174E #ADD517 #17D59E #3F17D5
split-complementary
#D5174E #17D53F #17ADD5
monochromatic
#670B26 #9E113A #D5174E #EA3F71 #F0769A
Accessibility & contrast
On white
5.17
#D5174E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#D5174E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D5174E
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5174E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D5174E | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57554E
Deuteranopia (green-blind)
#857A49
Tritanopia (blue-blind)
#EA0032
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d5174e; /* rgb */ color: rgb(213, 23, 78); /* oklch */ color: oklch(56.3% 0.215 13.7);
Tailwind
colors: {
custom: {
50: '#eb707f',
500: '#d5174e',
950: '#000000',
},
}SCSS
$custom: #d5174e; $custom-light: #eb707f; $custom-dark: #000000;
JSON
{
"hex": "#d5174e",
"rgb": {
"r": 213,
"g": 23,
"b": 78
},
"hsl": {
"h": 342.632,
"s": 80.508,
"l": 46.275
},
"oklch": {
"l": 0.56251,
"c": 0.21522,
"h": 13.7
},
"luminance": 0.15309
}Semantic roles & 50–950 ramp
primary
#D5174E
secondary
#71D7BA
accent
#F7BE31
background
#FFF7F7
surface
#FFEDEE
border
#D7C8C9
text
#18090A
muted
#867B7C