#9E157D#9E157D
#9E157D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 340.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9E157D |
|---|---|
| RGB | rgb(158, 21, 125) |
| HSL | hsl(314, 77%, 35%) |
| HSV | hsv(314, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 20.9%, 38%) |
| CIE-LAB | lab(36.53, 61.07, -23.57) |
| CIE-LCH | lch(36.53, 65.46, 338.90°) |
| OKLab | oklab(47.88% 0.1834 -0.0636) |
| OKLCH | oklch(47.88% 0.194 340.9) |
| XYZ | xyz(18.0710, 9.2880, 20.2392) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.52
Warm Purple
#952E8F
ΔE00 4.84
Barney Purple
#A00498
ΔE00 5.34
Darkmagenta
#8B008B
ΔE00 6.58
Deep Magenta
#A0025C
ΔE00 7.63
Purple
#800080
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E157D #159E36
analogous
#7B159E #9E157D #9E1538
triadic
#9E157D #7D9E15 #157D9E
tetradic
#9E157D #9E7B15 #159E36 #15389E
square
#9E157D #9E7B15 #159E36 #15389E
split-complementary
#9E157D #389E15 #159E7B
monochromatic
#320728 #680E52 #9E157D #D41CA8 #E747C0
Accessibility & contrast
On white
7.35
#9E157D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9E157D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E157D
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E157D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E157D | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244880
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#A81A4A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e157d; /* rgb */ color: rgb(158, 21, 125); /* oklch */ color: oklch(47.9% 0.194 340.9);
Tailwind
colors: {
custom: {
50: '#bf67a3',
500: '#9e157d',
950: '#000000',
},
}SCSS
$custom: #9e157d; $custom-light: #bf67a3; $custom-dark: #000000;
JSON
{
"hex": "#9e157d",
"rgb": {
"r": 158,
"g": 21,
"b": 125
},
"hsl": {
"h": 314.453,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.47881,
"c": 0.19412,
"h": 340.9
},
"luminance": 0.09286
}Semantic roles & 50–950 ramp
primary
#9E157D
secondary
#47C766
accent
#F36335
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F