#9E2E79#9E2E79
#9E2E79 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.167 H 343.9°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E79 |
|---|---|
| RGB | rgb(158, 46, 121) |
| HSL | hsl(320, 55%, 40%) |
| HSV | hsv(320, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 23.4%, 38%) |
| CIE-LAB | lab(38.91, 53.25, -17.40) |
| CIE-LCH | lch(38.91, 56.02, 341.90°) |
| OKLab | oklab(49.54% 0.1604 -0.0464) |
| OKLCH | oklch(49.54% 0.167 343.9) |
| XYZ | xyz(18.5294, 10.6055, 19.1567) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.89
Warm Purple
#952E8F
ΔE00 6.03
Light Eggplant
#894585
ΔE00 6.66
Magenta (survey)
#C20078
ΔE00 6.79
Deep Magenta
#A0025C
ΔE00 6.97
Bruise
#7E4071
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E79 #2E9E53
analogous
#8B2E9E #9E2E79 #9E2E41
triadic
#9E2E79 #799E2E #2E799E
tetradic
#9E2E79 #9E8B2E #2E9E53 #2E419E
square
#9E2E79 #9E8B2E #2E9E53 #2E419E
split-complementary
#9E2E79 #419E2E #2E9E8B
monochromatic
#3F1230 #6F2055 #9E2E79 #C8419B #D671B4
Accessibility & contrast
On white
6.73
#9E2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E2E79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E79
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E79 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A82E4F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2e79; /* rgb */ color: rgb(158, 46, 121); /* oklch */ color: oklch(49.5% 0.167 343.9);
Tailwind
colors: {
custom: {
50: '#be709f',
500: '#9e2e79',
950: '#000000',
},
}SCSS
$custom: #9e2e79; $custom-light: #be709f; $custom-dark: #000000;
JSON
{
"hex": "#9e2e79",
"rgb": {
"r": 158,
"g": 46,
"b": 121
},
"hsl": {
"h": 319.821,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.4954,
"c": 0.16699,
"h": 343.9
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#9E2E79
secondary
#6BBD86
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E