#9E2A51#9E2A51
#9E2A51 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.154 H 5.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2A51 |
|---|---|
| RGB | rgb(158, 42, 81) |
| HSL | hsl(340, 58%, 39%) |
| HSV | hsv(340, 73%, 62%) |
| CMYK | cmyk(0%, 73.4%, 48.7%, 38%) |
| CIE-LAB | lab(36.97, 50.13, 5.00) |
| CIE-LCH | lch(36.97, 50.38, 5.69°) |
| OKLab | oklab(47.66% 0.1532 0.0133) |
| OKLCH | oklch(47.66% 0.154 5) |
| XYZ | xyz(16.4151, 9.5213, 8.7564) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.65
Purplish Red
#B0054B
ΔE00 4.10
Violet Red
#A50055
ΔE00 4.29
Purple Red
#990147
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.39
Light Burgundy
#A8415B
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2A51 #2A9E77
analogous
#9E2A8B #9E2A51 #9E3D2A
triadic
#9E2A51 #519E2A #2A519E
tetradic
#9E2A51 #8B9E2A #2A9E77 #3D2A9E
square
#9E2A51 #8B9E2A #2A9E77 #3D2A9E
split-complementary
#9E2A51 #2A9E3D #2A8B9E
monochromatic
#3D101F #6E1D38 #9E2A51 #CB3A6B #D86B8F
Accessibility & contrast
On white
7.23
#9E2A51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9E2A51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2A51
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2A51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2A51 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#AC143A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2a51; /* rgb */ color: rgb(158, 42, 81); /* oklch */ color: oklch(47.7% 0.154 5.0);
Tailwind
colors: {
custom: {
50: '#c06d81',
500: '#9e2a51',
950: '#000000',
},
}SCSS
$custom: #9e2a51; $custom-light: #c06d81; $custom-dark: #000000;
JSON
{
"hex": "#9e2a51",
"rgb": {
"r": 158,
"g": 42,
"b": 81
},
"hsl": {
"h": 339.828,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.47657,
"c": 0.15377,
"h": 5
},
"luminance": 0.09519
}Semantic roles & 50–950 ramp
primary
#9E2A51
secondary
#66BEA0
accent
#E1AD47
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C