#9E2E7B#9E2E7B
#9E2E7B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.168 H 342.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E7B |
|---|---|
| RGB | rgb(158, 46, 123) |
| HSL | hsl(319, 55%, 40%) |
| HSV | hsv(319, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 22.2%, 38%) |
| CIE-LAB | lab(38.99, 53.52, -18.51) |
| CIE-LCH | lch(38.99, 56.64, 340.92°) |
| OKLab | oklab(49.63% 0.1608 -0.0495) |
| OKLCH | oklch(49.63% 0.168 342.9) |
| XYZ | xyz(18.6533, 10.6550, 19.8093) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.14
Warm Purple
#952E8F
ΔE00 5.58
Light Eggplant
#894585
ΔE00 6.41
Magenta (survey)
#C20078
ΔE00 6.97
Bruise
#7E4071
ΔE00 7.01
Deep Magenta
#A0025C
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E7B #2E9E51
analogous
#892E9E #9E2E7B #9E2E43
triadic
#9E2E7B #7B9E2E #2E7B9E
tetradic
#9E2E7B #9E892E #2E9E51 #2E439E
square
#9E2E7B #9E892E #2E9E51 #2E439E
split-complementary
#9E2E7B #439E2E #2E9E89
monochromatic
#3F1231 #6F2056 #9E2E7B #C8419E #D671B6
Accessibility & contrast
On white
6.71
#9E2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9E2E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E7B
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E7B | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2e7b; /* rgb */ color: rgb(158, 46, 123); /* oklch */ color: oklch(49.6% 0.168 342.9);
Tailwind
colors: {
custom: {
50: '#be70a1',
500: '#9e2e7b',
950: '#000000',
},
}SCSS
$custom: #9e2e7b; $custom-light: #be70a1; $custom-dark: #000000;
JSON
{
"hex": "#9e2e7b",
"rgb": {
"r": 158,
"g": 46,
"b": 123
},
"hsl": {
"h": 318.75,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.4963,
"c": 0.16827,
"h": 342.9
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#9E2E7B
secondary
#6BBD84
accent
#DE784A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E