#9E2E54#9E2E54
#9E2E54 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.150 H 4.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E54 |
|---|---|
| RGB | rgb(158, 46, 84) |
| HSL | hsl(340, 55%, 40%) |
| HSV | hsv(340, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 46.8%, 38%) |
| CIE-LAB | lab(37.60, 48.90, 3.98) |
| CIE-LCH | lch(37.60, 49.06, 4.66°) |
| OKLab | oklab(48.15% 0.1495 0.0107) |
| OKLCH | oklch(48.15% 0.15 4.1) |
| XYZ | xyz(16.6791, 9.8653, 9.4117) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.19
Violet Red
#A50055
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.65
Light Burgundy
#A8415B
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 4.97
Purple Red
#990147
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E54 #2E9E78
analogous
#9E2E8C #9E2E54 #9E402E
triadic
#9E2E54 #549E2E #2E549E
tetradic
#9E2E54 #8C9E2E #2E9E78 #402E9E
square
#9E2E54 #8C9E2E #2E9E78 #402E9E
split-complementary
#9E2E54 #2E9E40 #2E8C9E
monochromatic
#3F1222 #6F203B #9E2E54 #C8416F #D67193
Accessibility & contrast
On white
7.06
#9E2E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E2E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2E54
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E54 | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#AC1C3E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e2e54; /* rgb */ color: rgb(158, 46, 84); /* oklch */ color: oklch(48.2% 0.150 4.1);
Tailwind
colors: {
custom: {
50: '#c06f83',
500: '#9e2e54',
950: '#000000',
},
}SCSS
$custom: #9e2e54; $custom-light: #c06f83; $custom-dark: #000000;
JSON
{
"hex": "#9e2e54",
"rgb": {
"r": 158,
"g": 46,
"b": 84
},
"hsl": {
"h": 339.643,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.48151,
"c": 0.14986,
"h": 4.1
},
"luminance": 0.09863
}Semantic roles & 50–950 ramp
primary
#9E2E54
secondary
#6BBDA1
accent
#DEAC4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C