#9E1281#9E1281
#9E1281 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.199 H 339.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1281 |
|---|---|
| RGB | rgb(158, 18, 129) |
| HSL | hsl(312, 80%, 35%) |
| HSV | hsv(312, 89%, 62%) |
| CMYK | cmyk(0%, 88.6%, 18.4%, 38%) |
| CIE-LAB | lab(36.53, 62.17, -26.06) |
| CIE-LCH | lch(36.53, 67.41, 337.26°) |
| OKLab | oklab(47.95% 0.1855 -0.0707) |
| OKLCH | oklch(47.95% 0.199 339.1) |
| XYZ | xyz(18.2798, 9.2886, 21.5948) |
| Luminance | 0.0929 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.24
Barney Purple
#A00498
ΔE00 4.43
Red Violet
#9E0168
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 5.82
Purple
#800080
ΔE00 7.10
Darkish Purple
#751973
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1281 #129E2F
analogous
#75129E #9E1281 #9E123B
triadic
#9E1281 #819E12 #12819E
tetradic
#9E1281 #9E7512 #129E2F #123B9E
square
#9E1281 #9E7512 #129E2F #123B9E
split-complementary
#9E1281 #3B9E12 #129E75
monochromatic
#300527 #670C54 #9E1281 #D518AE #E941C6
Accessibility & contrast
On white
7.35
#9E1281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9E1281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1281
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1281 | 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)
#1F4884
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#A81B4C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9e1281; /* rgb */ color: rgb(158, 18, 129); /* oklch */ color: oklch(47.9% 0.199 339.1);
Tailwind
colors: {
custom: {
50: '#bf67a6',
500: '#9e1281',
950: '#000000',
},
}SCSS
$custom: #9e1281; $custom-light: #bf67a6; $custom-dark: #000000;
JSON
{
"hex": "#9e1281",
"rgb": {
"r": 158,
"g": 18,
"b": 129
},
"hsl": {
"h": 312.429,
"s": 79.545,
"l": 34.51
},
"oklch": {
"l": 0.47945,
"c": 0.19854,
"h": 339.1
},
"luminance": 0.09287
}Semantic roles & 50–950 ramp
primary
#9E1281
secondary
#42C95E
accent
#F65A32
background
#FCF6FA
surface
#F8EBF4
border
#D1C6CE
text
#13070F
muted
#827A7F