#9E167F#9E167F
#9E167F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 340.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9E167F |
|---|---|
| RGB | rgb(158, 22, 127) |
| HSL | hsl(314, 76%, 35%) |
| HSV | hsv(314, 86%, 62%) |
| CMYK | cmyk(0%, 86.1%, 19.6%, 38%) |
| CIE-LAB | lab(36.70, 61.13, -24.55) |
| CIE-LCH | lch(36.70, 65.88, 338.12°) |
| OKLab | oklab(48.03% 0.183 -0.0664) |
| OKLCH | oklch(48.03% 0.195 340) |
| XYZ | xyz(18.2188, 9.3771, 20.9251) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.47
Red Violet
#9E0168
ΔE00 4.93
Barney Purple
#A00498
ΔE00 4.95
Darkmagenta
#8B008B
ΔE00 6.32
Purple
#800080
ΔE00 7.50
Light Eggplant
#894585
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E167F #169E35
analogous
#79169E #9E167F #9E163B
triadic
#9E167F #7F9E16 #167F9E
tetradic
#9E167F #9E7916 #169E35 #163B9E
square
#9E167F #9E7916 #169E35 #163B9E
split-complementary
#9E167F #3B9E16 #169E79
monochromatic
#330729 #680F54 #9E167F #D41DAA #E649C2
Accessibility & contrast
On white
7.30
#9E167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E167F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E167F | 1.00 | 7.30 | 2.87 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A81D4C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e167f; /* rgb */ color: rgb(158, 22, 127); /* oklch */ color: oklch(48.0% 0.195 340.0);
Tailwind
colors: {
custom: {
50: '#bf68a4',
500: '#9e167f',
950: '#000000',
},
}SCSS
$custom: #9e167f; $custom-light: #bf68a4; $custom-dark: #000000;
JSON
{
"hex": "#9e167f",
"rgb": {
"r": 158,
"g": 22,
"b": 127
},
"hsl": {
"h": 313.676,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.48032,
"c": 0.19468,
"h": 340
},
"luminance": 0.09375
}Semantic roles & 50–950 ramp
primary
#9E167F
secondary
#49C766
accent
#F26136
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F