#9E2A56#9E2A56
#9E2A56 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.155 H 2.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2A56 |
|---|---|
| RGB | rgb(158, 42, 86) |
| HSL | hsl(337, 58%, 39%) |
| HSV | hsv(337, 73%, 62%) |
| CMYK | cmyk(0%, 73.4%, 45.6%, 38%) |
| CIE-LAB | lab(37.11, 50.60, 2.00) |
| CIE-LCH | lch(37.11, 50.64, 2.27°) |
| OKLab | oklab(47.81% 0.155 0.0057) |
| OKLCH | oklch(47.81% 0.155 2.1) |
| XYZ | xyz(16.6095, 9.5991, 9.7805) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.54
Berry
#990F4B
ΔE00 3.61
Purple Red
#990147
ΔE00 4.53
Dark Fuchsia
#9D0759
ΔE00 4.61
Purplish Red
#B0054B
ΔE00 4.95
Deep Magenta
#A0025C
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2A56 #2A9E72
analogous
#9E2A90 #9E2A56 #9E382A
triadic
#9E2A56 #569E2A #2A569E
tetradic
#9E2A56 #909E2A #2A9E72 #382A9E
square
#9E2A56 #909E2A #2A9E72 #382A9E
split-complementary
#9E2A56 #2A9E38 #2A909E
monochromatic
#3D1021 #6E1D3C #9E2A56 #CB3A71 #D86B94
Accessibility & contrast
On white
7.19
#9E2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9E2A56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E2A56
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2A56 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#636053
Tritanopia (blue-blind)
#AC173C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9e2a56; /* rgb */ color: rgb(158, 42, 86); /* oklch */ color: oklch(47.8% 0.155 2.1);
Tailwind
colors: {
custom: {
50: '#c06d85',
500: '#9e2a56',
950: '#000000',
},
}SCSS
$custom: #9e2a56; $custom-light: #c06d85; $custom-dark: #000000;
JSON
{
"hex": "#9e2a56",
"rgb": {
"r": 158,
"g": 42,
"b": 86
},
"hsl": {
"h": 337.241,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.4781,
"c": 0.15515,
"h": 2.1
},
"luminance": 0.09597
}Semantic roles & 50–950 ramp
primary
#9E2A56
secondary
#66BE9D
accent
#E1A747
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C