#9E164D#9E164D
#9E164D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 4.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9E164D |
|---|---|
| RGB | rgb(158, 22, 77) |
| HSL | hsl(336, 76%, 35%) |
| HSV | hsv(336, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 51.3%, 38%) |
| CIE-LAB | lab(34.76, 55.70, 4.43) |
| CIE-LCH | lch(34.76, 55.87, 4.55°) |
| OKLab | oklab(46% 0.1708 0.0118) |
| OKLCH | oklch(46% 0.171 4) |
| XYZ | xyz(15.7285, 8.3810, 7.8092) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.39
Purple Red
#990147
ΔE00 1.99
Violet Red
#A50055
ΔE00 2.62
Mulberry
#920A4E
ΔE00 3.76
Purplish Red
#B0054B
ΔE00 3.91
Raspberry (survey)
#B00149
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E164D #169E67
analogous
#9E1691 #9E164D #9E2316
triadic
#9E164D #4D9E16 #164D9E
tetradic
#9E164D #919E16 #169E67 #23169E
square
#9E164D #919E16 #169E67 #23169E
split-complementary
#9E164D #169E23 #16919E
monochromatic
#330719 #680F33 #9E164D #D41D67 #E64988
Accessibility & contrast
On white
7.85
#9E164D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9E164D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E164D
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E164D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E164D | 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)
#3C414E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e164d; /* rgb */ color: rgb(158, 22, 77); /* oklch */ color: oklch(46.0% 0.171 4.0);
Tailwind
colors: {
custom: {
50: '#c1667e',
500: '#9e164d',
950: '#000000',
},
}SCSS
$custom: #9e164d; $custom-light: #c1667e; $custom-dark: #000000;
JSON
{
"hex": "#9e164d",
"rgb": {
"r": 158,
"g": 22,
"b": 77
},
"hsl": {
"h": 335.735,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.45999,
"c": 0.1712,
"h": 4
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#9E164D
secondary
#49C794
accent
#F2A636
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B