#9E2E52#9E2E52
#9E2E52 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.149 H 5.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2E52 |
|---|---|
| RGB | rgb(158, 46, 82) |
| HSL | hsl(341, 55%, 40%) |
| HSV | hsv(341, 71%, 62%) |
| CMYK | cmyk(0%, 70.9%, 48.1%, 38%) |
| CIE-LAB | lab(37.54, 48.71, 5.18) |
| CIE-LCH | lch(37.54, 48.98, 6.07°) |
| OKLab | oklab(48.09% 0.1487 0.0137) |
| OKLCH | oklch(48.09% 0.149 5.3) |
| XYZ | xyz(16.6019, 9.8344, 9.0050) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.30
Purplish Red
#B0054B
ΔE00 4.39
Raspberry (survey)
#B00149
ΔE00 4.67
Light Burgundy
#A8415B
ΔE00 4.73
Violet Red
#A50055
ΔE00 4.87
Purple Red
#990147
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2E52 #2E9E7A
analogous
#9E2E8A #9E2E52 #9E422E
triadic
#9E2E52 #529E2E #2E529E
tetradic
#9E2E52 #8A9E2E #2E9E7A #422E9E
square
#9E2E52 #8A9E2E #2E9E7A #422E9E
split-complementary
#9E2E52 #2E9E42 #2E8A9E
monochromatic
#3F1221 #6F2039 #9E2E52 #C8416D #D67191
Accessibility & contrast
On white
7.08
#9E2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9E2E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2E52
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2E52 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AC1B3D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e2e52; /* rgb */ color: rgb(158, 46, 82); /* oklch */ color: oklch(48.1% 0.149 5.3);
Tailwind
colors: {
custom: {
50: '#c06f82',
500: '#9e2e52',
950: '#000000',
},
}SCSS
$custom: #9e2e52; $custom-light: #c06f82; $custom-dark: #000000;
JSON
{
"hex": "#9e2e52",
"rgb": {
"r": 158,
"g": 46,
"b": 82
},
"hsl": {
"h": 340.714,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.48091,
"c": 0.14935,
"h": 5.3
},
"luminance": 0.09832
}Semantic roles & 50–950 ramp
primary
#9E2E52
secondary
#6BBDA3
accent
#DEAE4A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C