#9E2F77#9E2F77
#9E2F77 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.164 H 344.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F77 |
|---|---|
| RGB | rgb(158, 47, 119) |
| HSL | hsl(321, 54%, 40%) |
| HSV | hsv(321, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 24.7%, 38%) |
| CIE-LAB | lab(38.96, 52.59, -16.07) |
| CIE-LCH | lch(38.96, 55.00, 343.00°) |
| OKLab | oklab(49.55% 0.1588 -0.0427) |
| OKLCH | oklch(49.55% 0.164 344.9) |
| XYZ | xyz(18.4475, 10.6359, 18.5306) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.79
Warm Purple
#952E8F
ΔE00 6.56
Magenta (survey)
#C20078
ΔE00 6.62
Deep Magenta
#A0025C
ΔE00 6.64
Light Eggplant
#894585
ΔE00 6.88
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F77 #2F9E56
analogous
#8D2F9E #9E2F77 #9E2F40
triadic
#9E2F77 #779E2F #2F779E
tetradic
#9E2F77 #9E8D2F #2F9E56 #2F409E
square
#9E2F77 #9E8D2F #2F9E56 #2F409E
split-complementary
#9E2F77 #409E2F #2F9E8D
monochromatic
#401330 #6F2153 #9E2F77 #C74399 #D572B2
Accessibility & contrast
On white
6.72
#9E2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#9E2F77 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F77
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F77 | 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)
#3B5079
Deuteranopia (green-blind)
#5C6374
Tritanopia (blue-blind)
#A82E4F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9e2f77; /* rgb */ color: rgb(158, 47, 119); /* oklch */ color: oklch(49.6% 0.164 344.9);
Tailwind
colors: {
custom: {
50: '#be719e',
500: '#9e2f77',
950: '#000000',
},
}SCSS
$custom: #9e2f77; $custom-light: #be719e; $custom-dark: #000000;
JSON
{
"hex": "#9e2f77",
"rgb": {
"r": 158,
"g": 47,
"b": 119
},
"hsl": {
"h": 321.081,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.49551,
"c": 0.16447,
"h": 344.9
},
"luminance": 0.10634
}Semantic roles & 50–950 ramp
primary
#9E2F77
secondary
#6CBD88
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E