#9E2E7A#9E2E7A
#9E2E7A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.168 H 343.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E7A |
|---|---|
| RGB | rgb(158, 46, 122) |
| HSL | hsl(319, 55%, 40%) |
| HSV | hsv(319, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 22.8%, 38%) |
| CIE-LAB | lab(38.95, 53.39, -17.96) |
| CIE-LCH | lch(38.95, 56.32, 341.41°) |
| OKLab | oklab(49.59% 0.1606 -0.048) |
| OKLCH | oklch(49.59% 0.168 343.4) |
| XYZ | xyz(18.5910, 10.6301, 19.4813) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.01
Warm Purple
#952E8F
ΔE00 5.80
Light Eggplant
#894585
ΔE00 6.53
Magenta (survey)
#C20078
ΔE00 6.88
Bruise
#7E4071
ΔE00 7.00
Deep Magenta
#A0025C
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E7A #2E9E52
analogous
#8A2E9E #9E2E7A #9E2E42
triadic
#9E2E7A #7A9E2E #2E7A9E
tetradic
#9E2E7A #9E8A2E #2E9E52 #2E429E
square
#9E2E7A #9E8A2E #2E9E52 #2E429E
split-complementary
#9E2E7A #429E2E #2E9E8A
monochromatic
#3F1231 #6F2055 #9E2E7A #C8419D #D671B5
Accessibility & contrast
On white
6.72
#9E2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9E2E7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2E7A
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E7A | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5B6277
Tritanopia (blue-blind)
#A82E50
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2e7a; /* rgb */ color: rgb(158, 46, 122); /* oklch */ color: oklch(49.6% 0.168 343.4);
Tailwind
colors: {
custom: {
50: '#be70a0',
500: '#9e2e7a',
950: '#000000',
},
}SCSS
$custom: #9e2e7a; $custom-light: #be70a0; $custom-dark: #000000;
JSON
{
"hex": "#9e2e7a",
"rgb": {
"r": 158,
"g": 46,
"b": 122
},
"hsl": {
"h": 319.286,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.49585,
"c": 0.16763,
"h": 343.4
},
"luminance": 0.10628
}Semantic roles & 50–950 ramp
primary
#9E2E7A
secondary
#6BBD85
accent
#DE794A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E