#9E2F76#9E2F76
#9E2F76 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.164 H 345.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F76 |
|---|---|
| RGB | rgb(158, 47, 118) |
| HSL | hsl(322, 54%, 40%) |
| HSV | hsv(322, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 25.3%, 38%) |
| CIE-LAB | lab(38.92, 52.46, -15.52) |
| CIE-LCH | lch(38.92, 54.71, 343.52°) |
| OKLab | oklab(49.51% 0.1586 -0.0412) |
| OKLCH | oklch(49.51% 0.164 345.4) |
| XYZ | xyz(18.3878, 10.6120, 18.2160) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.70
Deep Magenta
#A0025C
ΔE00 6.45
Magenta (survey)
#C20078
ΔE00 6.56
Warm Purple
#952E8F
ΔE00 6.80
Dark Fuchsia
#9D0759
ΔE00 6.90
Bruise
#7E4071
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F76 #2F9E57
analogous
#8F2F9E #9E2F76 #9E2F3E
triadic
#9E2F76 #769E2F #2F769E
tetradic
#9E2F76 #9E8F2F #2F9E57 #2F3E9E
square
#9E2F76 #9E8F2F #2F9E57 #2F3E9E
split-complementary
#9E2F76 #3E9E2F #2F9E8F
monochromatic
#401330 #6F2153 #9E2F76 #C74398 #D572B2
Accessibility & contrast
On white
6.73
#9E2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9E2F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F76
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F76 | 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)
#3C5078
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#A92D4E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2f76; /* rgb */ color: rgb(158, 47, 118); /* oklch */ color: oklch(49.5% 0.164 345.4);
Tailwind
colors: {
custom: {
50: '#be719d',
500: '#9e2f76',
950: '#000000',
},
}SCSS
$custom: #9e2f76; $custom-light: #be719d; $custom-dark: #000000;
JSON
{
"hex": "#9e2f76",
"rgb": {
"r": 158,
"g": 47,
"b": 118
},
"hsl": {
"h": 321.622,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49508,
"c": 0.16386,
"h": 345.4
},
"luminance": 0.1061
}Semantic roles & 50–950 ramp
primary
#9E2F76
secondary
#6CBD89
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E