#9E1F79#9E1F79
#9E1F79 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.184 H 343.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F79 |
|---|---|
| RGB | rgb(158, 31, 121) |
| HSL | hsl(317, 67%, 37%) |
| HSV | hsv(317, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 23.4%, 38%) |
| CIE-LAB | lab(37.17, 58.16, -20.07) |
| CIE-LCH | lch(37.17, 61.53, 340.96°) |
| OKLab | oklab(48.28% 0.1755 -0.0538) |
| OKLCH | oklch(48.28% 0.184 343) |
| XYZ | xyz(18.0424, 9.6315, 18.9943) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.84
Warm Purple
#952E8F
ΔE00 5.52
Barney Purple
#A00498
ΔE00 6.62
Deep Magenta
#A0025C
ΔE00 6.70
Dark Fuchsia
#9D0759
ΔE00 7.23
Magenta (survey)
#C20078
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F79 #1F9E44
analogous
#841F9E #9E1F79 #9E1F3A
triadic
#9E1F79 #799E1F #1F799E
tetradic
#9E1F79 #9E841F #1F9E44 #1F3A9E
square
#9E1F79 #9E841F #1F9E44 #1F3A9E
split-complementary
#9E1F79 #3A9E1F #1F9E84
monochromatic
#380B2B #6B1552 #9E1F79 #D129A0 #DE59B8
Accessibility & contrast
On white
7.18
#9E1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9E1F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F79
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F79 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A8204A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e1f79; /* rgb */ color: rgb(158, 31, 121); /* oklch */ color: oklch(48.3% 0.184 343.0);
Tailwind
colors: {
custom: {
50: '#bf6aa0',
500: '#9e1f79',
950: '#000000',
},
}SCSS
$custom: #9e1f79; $custom-light: #bf6aa0; $custom-dark: #000000;
JSON
{
"hex": "#9e1f79",
"rgb": {
"r": 158,
"g": 31,
"b": 121
},
"hsl": {
"h": 317.48,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.48281,
"c": 0.18359,
"h": 343
},
"luminance": 0.0963
}Semantic roles & 50–950 ramp
primary
#9E1F79
secondary
#56C276
accent
#EA703E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E