#9E167D#9E167D
#9E167D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 340.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9E167D |
|---|---|
| RGB | rgb(158, 22, 125) |
| HSL | hsl(315, 76%, 35%) |
| HSV | hsv(315, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 20.9%, 38%) |
| CIE-LAB | lab(36.60, 60.87, -23.46) |
| CIE-LCH | lch(36.60, 65.23, 338.93°) |
| OKLab | oklab(47.93% 0.1828 -0.0633) |
| OKLCH | oklch(47.93% 0.193 340.9) |
| XYZ | xyz(18.0898, 9.3255, 20.2454) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.52
Warm Purple
#952E8F
ΔE00 4.82
Barney Purple
#A00498
ΔE00 5.37
Darkmagenta
#8B008B
ΔE00 6.63
Deep Magenta
#A0025C
ΔE00 7.62
Purple
#800080
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E167D #169E37
analogous
#7B169E #9E167D #9E1639
triadic
#9E167D #7D9E16 #167D9E
tetradic
#9E167D #9E7B16 #169E37 #16399E
square
#9E167D #9E7B16 #169E37 #16399E
split-complementary
#9E167D #399E16 #169E7B
monochromatic
#330728 #680F52 #9E167D #D41DA7 #E649C0
Accessibility & contrast
On white
7.33
#9E167D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9E167D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E167D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E167D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E167D | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25497F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A81B4B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e167d; /* rgb */ color: rgb(158, 22, 125); /* oklch */ color: oklch(47.9% 0.193 340.9);
Tailwind
colors: {
custom: {
50: '#bf68a3',
500: '#9e167d',
950: '#000000',
},
}SCSS
$custom: #9e167d; $custom-light: #bf68a3; $custom-dark: #000000;
JSON
{
"hex": "#9e167d",
"rgb": {
"r": 158,
"g": 22,
"b": 125
},
"hsl": {
"h": 314.559,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.47931,
"c": 0.19343,
"h": 340.9
},
"luminance": 0.09324
}Semantic roles & 50–950 ramp
primary
#9E167D
secondary
#49C767
accent
#F26336
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F