#9E1978#9E1978
#9E1978 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 343.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1978 |
|---|---|
| RGB | rgb(158, 25, 120) |
| HSL | hsl(317, 73%, 36%) |
| HSV | hsv(317, 84%, 62%) |
| CMYK | cmyk(0%, 84.2%, 24.1%, 38%) |
| CIE-LAB | lab(36.60, 59.56, -20.34) |
| CIE-LCH | lch(36.60, 62.94, 341.15°) |
| OKLab | oklab(47.85% 0.1801 -0.0545) |
| OKLCH | oklch(47.85% 0.188 343.2) |
| XYZ | xyz(17.8391, 9.3224, 18.6256) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.51
Warm Purple
#952E8F
ΔE00 5.73
Deep Magenta
#A0025C
ΔE00 6.53
Barney Purple
#A00498
ΔE00 6.54
Dark Fuchsia
#9D0759
ΔE00 7.07
Dark Magenta
#960056
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1978 #199E3F
analogous
#81199E #9E1978 #9E1935
triadic
#9E1978 #789E19 #19789E
tetradic
#9E1978 #9E8119 #199E3F #19359E
square
#9E1978 #9E8119 #199E3F #19359E
split-complementary
#9E1978 #359E19 #199E81
monochromatic
#340828 #691150 #9E1978 #D321A0 #E34EB9
Accessibility & contrast
On white
7.33
#9E1978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9E1978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1978
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1978 | 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)
#2B487A
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#A91948
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1978; /* rgb */ color: rgb(158, 25, 120); /* oklch */ color: oklch(47.9% 0.188 343.2);
Tailwind
colors: {
custom: {
50: '#bf689f',
500: '#9e1978',
950: '#000000',
},
}SCSS
$custom: #9e1978; $custom-light: #bf689f; $custom-dark: #000000;
JSON
{
"hex": "#9e1978",
"rgb": {
"r": 158,
"g": 25,
"b": 120
},
"hsl": {
"h": 317.143,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.47851,
"c": 0.18814,
"h": 343.2
},
"luminance": 0.0932
}Semantic roles & 50–950 ramp
primary
#9E1978
secondary
#4EC570
accent
#EF6D38
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E