#9E2A80#9E2A80
#9E2A80 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 340.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2A80 |
|---|---|
| RGB | rgb(158, 42, 128) |
| HSL | hsl(316, 58%, 39%) |
| HSV | hsv(316, 73%, 62%) |
| CMYK | cmyk(0%, 73.4%, 19%, 38%) |
| CIE-LAB | lab(38.70, 55.68, -22.06) |
| CIE-LCH | lch(38.70, 59.89, 338.38°) |
| OKLab | oklab(49.49% 0.1661 -0.0595) |
| OKLCH | oklch(49.49% 0.176 340.3) |
| XYZ | xyz(18.8253, 10.4854, 21.4503) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.28
Red Violet
#9E0168
ΔE00 5.60
Barney Purple
#A00498
ΔE00 6.05
Light Eggplant
#894585
ΔE00 6.25
Ugly Purple
#A442A0
ΔE00 7.14
Bruise
#7E4071
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2A80 #2A9E48
analogous
#822A9E #9E2A80 #9E2A46
triadic
#9E2A80 #809E2A #2A809E
tetradic
#9E2A80 #9E822A #2A9E48 #2A469E
square
#9E2A80 #9E822A #2A9E48 #2A469E
split-complementary
#9E2A80 #469E2A #2A9E82
monochromatic
#3D1032 #6E1D59 #9E2A80 #CB3AA5 #D86BBB
Accessibility & contrast
On white
6.78
#9E2A80 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9E2A80 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2A80
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2A80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2A80 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#57627D
Tritanopia (blue-blind)
#A72D51
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2a80; /* rgb */ color: rgb(158, 42, 128); /* oklch */ color: oklch(49.5% 0.176 340.3);
Tailwind
colors: {
custom: {
50: '#be6fa5',
500: '#9e2a80',
950: '#000000',
},
}SCSS
$custom: #9e2a80; $custom-light: #be6fa5; $custom-dark: #000000;
JSON
{
"hex": "#9e2a80",
"rgb": {
"r": 158,
"g": 42,
"b": 128
},
"hsl": {
"h": 315.517,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.4949,
"c": 0.17645,
"h": 340.3
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#9E2A80
secondary
#66BE7D
accent
#E16F47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F