#9E174D#9E174D
#9E174D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 4.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9E174D |
|---|---|
| RGB | rgb(158, 23, 77) |
| HSL | hsl(336, 75%, 35%) |
| HSV | hsv(336, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 51.3%, 38%) |
| CIE-LAB | lab(34.84, 55.47, 4.54) |
| CIE-LCH | lch(34.84, 55.66, 4.68°) |
| OKLab | oklab(46.06% 0.1701 0.0121) |
| OKLCH | oklch(46.06% 0.17 4.1) |
| XYZ | xyz(15.7479, 8.4200, 7.8157) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.47
Purple Red
#990147
ΔE00 2.07
Violet Red
#A50055
ΔE00 2.70
Mulberry
#920A4E
ΔE00 3.85
Purplish Red
#B0054B
ΔE00 3.87
Raspberry (survey)
#B00149
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E174D #179E68
analogous
#9E1790 #9E174D #9E2417
triadic
#9E174D #4D9E17 #174D9E
tetradic
#9E174D #909E17 #179E68 #24179E
square
#9E174D #909E17 #179E68 #24179E
split-complementary
#9E174D #179E24 #17909E
monochromatic
#330719 #690F33 #9E174D #D31F67 #E54B88
Accessibility & contrast
On white
7.83
#9E174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E174D
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E174D | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#605B4A
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e174d; /* rgb */ color: rgb(158, 23, 77); /* oklch */ color: oklch(46.1% 0.170 4.1);
Tailwind
colors: {
custom: {
50: '#c1667e',
500: '#9e174d',
950: '#000000',
},
}SCSS
$custom: #9e174d; $custom-light: #c1667e; $custom-dark: #000000;
JSON
{
"hex": "#9e174d",
"rgb": {
"r": 158,
"g": 23,
"b": 77
},
"hsl": {
"h": 336,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.46056,
"c": 0.17049,
"h": 4.1
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#9E174D
secondary
#4AC695
accent
#F1A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B