#9E2A54#9E2A54
#9E2A54 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.155 H 3.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2A54 |
|---|---|
| RGB | rgb(158, 42, 84) |
| HSL | hsl(338, 58%, 39%) |
| HSV | hsv(338, 73%, 62%) |
| CMYK | cmyk(0%, 73.4%, 46.8%, 38%) |
| CIE-LAB | lab(37.05, 50.41, 3.20) |
| CIE-LCH | lch(37.05, 50.51, 3.63°) |
| OKLab | oklab(47.75% 0.1543 0.0088) |
| OKLCH | oklch(47.75% 0.155 3.2) |
| XYZ | xyz(16.5301, 9.5673, 9.3620) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.54
Violet Red
#A50055
ΔE00 3.77
Purple Red
#990147
ΔE00 4.39
Purplish Red
#B0054B
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 4.92
Dark Fuchsia
#9D0759
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2A54 #2A9E74
analogous
#9E2A8E #9E2A54 #9E3A2A
triadic
#9E2A54 #549E2A #2A549E
tetradic
#9E2A54 #8E9E2A #2A9E74 #3A2A9E
square
#9E2A54 #8E9E2A #2A9E74 #3A2A9E
split-complementary
#9E2A54 #2A9E3A #2A8E9E
monochromatic
#3D1021 #6E1D3A #9E2A54 #CB3A6F #D86B92
Accessibility & contrast
On white
7.21
#9E2A54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9E2A54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2A54
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2A54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2A54 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444955
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#AC163C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2a54; /* rgb */ color: rgb(158, 42, 84); /* oklch */ color: oklch(47.7% 0.155 3.2);
Tailwind
colors: {
custom: {
50: '#c06d83',
500: '#9e2a54',
950: '#000000',
},
}SCSS
$custom: #9e2a54; $custom-light: #c06d83; $custom-dark: #000000;
JSON
{
"hex": "#9e2a54",
"rgb": {
"r": 158,
"g": 42,
"b": 84
},
"hsl": {
"h": 338.276,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.47748,
"c": 0.15456,
"h": 3.2
},
"luminance": 0.09565
}Semantic roles & 50–950 ramp
primary
#9E2A54
secondary
#66BE9E
accent
#E1A947
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C