#9E157F#9E157F
#9E157F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 48.0% C 0.195 H 340.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9E157F |
|---|---|
| RGB | rgb(158, 21, 127) |
| HSL | hsl(314, 77%, 35%) |
| HSV | hsv(314, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 19.6%, 38%) |
| CIE-LAB | lab(36.63, 61.34, -24.66) |
| CIE-LCH | lch(36.63, 66.11, 338.10°) |
| OKLab | oklab(47.98% 0.1836 -0.0667) |
| OKLCH | oklch(47.98% 0.195 340) |
| XYZ | xyz(18.2001, 9.3397, 20.9188) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.49
Barney Purple
#A00498
ΔE00 4.92
Red Violet
#9E0168
ΔE00 4.93
Darkmagenta
#8B008B
ΔE00 6.27
Purple
#800080
ΔE00 7.45
Light Eggplant
#894585
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E157F #159E34
analogous
#79159E #9E157F #9E153A
triadic
#9E157F #7F9E15 #157F9E
tetradic
#9E157F #9E7915 #159E34 #153A9E
square
#9E157F #9E7915 #159E34 #153A9E
split-complementary
#9E157F #3A9E15 #159E79
monochromatic
#320728 #680E54 #9E157F #D41CAA #E747C2
Accessibility & contrast
On white
7.32
#9E157F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9E157F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E157F
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E157F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E157F | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A81C4B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e157f; /* rgb */ color: rgb(158, 21, 127); /* oklch */ color: oklch(48.0% 0.195 340.0);
Tailwind
colors: {
custom: {
50: '#bf67a4',
500: '#9e157f',
950: '#000000',
},
}SCSS
$custom: #9e157f; $custom-light: #bf67a4; $custom-dark: #000000;
JSON
{
"hex": "#9e157f",
"rgb": {
"r": 158,
"g": 21,
"b": 127
},
"hsl": {
"h": 313.577,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.47982,
"c": 0.19537,
"h": 340
},
"luminance": 0.09338
}Semantic roles & 50–950 ramp
primary
#9E157F
secondary
#47C764
accent
#F36035
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F