#9E174A#9E174A
#9E174A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 5.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9E174A |
|---|---|
| RGB | rgb(158, 23, 74) |
| HSL | hsl(337, 75%, 35%) |
| HSV | hsv(337, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 53.2%, 38%) |
| CIE-LAB | lab(34.76, 55.23, 6.38) |
| CIE-LCH | lch(34.76, 55.59, 6.59°) |
| OKLab | oklab(45.97% 0.1689 0.0166) |
| OKLCH | oklch(45.97% 0.17 5.6) |
| XYZ | xyz(15.6445, 8.3786, 7.2707) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.98
Purple Red
#990147
ΔE00 2.19
Purplish Red
#B0054B
ΔE00 3.45
Violet Red
#A50055
ΔE00 3.51
Raspberry (survey)
#B00149
ΔE00 3.61
Cranberry
#9E003A
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E174A #179E6B
analogous
#9E178E #9E174A #9E2717
triadic
#9E174A #4A9E17 #174A9E
tetradic
#9E174A #8E9E17 #179E6B #27179E
square
#9E174A #8E9E17 #179E6B #27179E
split-complementary
#9E174A #179E27 #178E9E
monochromatic
#330718 #690F31 #9E174A #D31F63 #E54B85
Accessibility & contrast
On white
7.85
#9E174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E174A
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E174A | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e174a; /* rgb */ color: rgb(158, 23, 74); /* oklch */ color: oklch(46.0% 0.170 5.6);
Tailwind
colors: {
custom: {
50: '#c1667c',
500: '#9e174a',
950: '#000000',
},
}SCSS
$custom: #9e174a; $custom-light: #c1667c; $custom-dark: #000000;
JSON
{
"hex": "#9e174a",
"rgb": {
"r": 158,
"g": 23,
"b": 74
},
"hsl": {
"h": 337.333,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45968,
"c": 0.16975,
"h": 5.6
},
"luminance": 0.08376
}Semantic roles & 50–950 ramp
primary
#9E174A
secondary
#4AC698
accent
#F1AB37
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B