#9E174E#9E174E
#9E174E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 3.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9E174E |
|---|---|
| RGB | rgb(158, 23, 78) |
| HSL | hsl(336, 75%, 35%) |
| HSV | hsv(336, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 50.6%, 38%) |
| CIE-LAB | lab(34.87, 55.55, 3.93) |
| CIE-LCH | lch(34.87, 55.69, 4.05°) |
| OKLab | oklab(46.09% 0.1704 0.0106) |
| OKLCH | oklch(46.09% 0.171 3.5) |
| XYZ | xyz(15.7835, 8.4342, 8.0031) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.40
Purple Red
#990147
ΔE00 2.12
Violet Red
#A50055
ΔE00 2.45
Mulberry
#920A4E
ΔE00 3.66
Purplish Red
#B0054B
ΔE00 4.04
Dark Fuchsia
#9D0759
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E174E #179E67
analogous
#9E1791 #9E174E #9E2417
triadic
#9E174E #4E9E17 #174E9E
tetradic
#9E174E #919E17 #179E67 #24179E
square
#9E174E #919E17 #179E67 #24179E
split-complementary
#9E174E #179E24 #17919E
monochromatic
#330719 #690F34 #9E174E #D31F68 #E54B89
Accessibility & contrast
On white
7.82
#9E174E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E174E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E174E
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E174E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E174E | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e174e; /* rgb */ color: rgb(158, 23, 78); /* oklch */ color: oklch(46.1% 0.171 3.5);
Tailwind
colors: {
custom: {
50: '#c1667f',
500: '#9e174e',
950: '#000000',
},
}SCSS
$custom: #9e174e; $custom-light: #c1667f; $custom-dark: #000000;
JSON
{
"hex": "#9e174e",
"rgb": {
"r": 158,
"g": 23,
"b": 78
},
"hsl": {
"h": 335.556,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.46086,
"c": 0.17075,
"h": 3.5
},
"luminance": 0.08432
}Semantic roles & 50–950 ramp
primary
#9E174E
secondary
#4AC694
accent
#F1A537
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C