#9E2E7D#9E2E7D
#9E2E7D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.170 H 341.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E7D |
|---|---|
| RGB | rgb(158, 46, 125) |
| HSL | hsl(318, 55%, 40%) |
| HSV | hsv(318, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 20.9%, 38%) |
| CIE-LAB | lab(39.08, 53.81, -19.62) |
| CIE-LCH | lch(39.08, 57.27, 339.97°) |
| OKLab | oklab(49.72% 0.1612 -0.0526) |
| OKLCH | oklch(49.72% 0.17 341.9) |
| XYZ | xyz(18.7798, 10.7056, 20.4754) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.14
Red Violet
#9E0168
ΔE00 5.42
Light Eggplant
#894585
ΔE00 6.19
Bruise
#7E4071
ΔE00 7.05
Barney Purple
#A00498
ΔE00 7.09
Magenta (survey)
#C20078
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E7D #2E9E4F
analogous
#872E9E #9E2E7D #9E2E45
triadic
#9E2E7D #7D9E2E #2E7D9E
tetradic
#9E2E7D #9E872E #2E9E4F #2E459E
square
#9E2E7D #9E872E #2E9E4F #2E459E
split-complementary
#9E2E7D #459E2E #2E9E87
monochromatic
#3F1232 #6F2057 #9E2E7D #C841A0 #D671B8
Accessibility & contrast
On white
6.69
#9E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9E2E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E7D
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E7D | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#A82F51
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2e7d; /* rgb */ color: rgb(158, 46, 125); /* oklch */ color: oklch(49.7% 0.170 341.9);
Tailwind
colors: {
custom: {
50: '#be70a2',
500: '#9e2e7d',
950: '#000000',
},
}SCSS
$custom: #9e2e7d; $custom-light: #be70a2; $custom-dark: #000000;
JSON
{
"hex": "#9e2e7d",
"rgb": {
"r": 158,
"g": 46,
"b": 125
},
"hsl": {
"h": 317.679,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.49722,
"c": 0.16958,
"h": 341.9
},
"luminance": 0.10704
}Semantic roles & 50–950 ramp
primary
#9E2E7D
secondary
#6BBD83
accent
#DE754A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F