#9E2F5A#9E2F5A
#9E2F5A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.150 H 0.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F5A |
|---|---|
| RGB | rgb(158, 47, 90) |
| HSL | hsl(337, 54%, 40%) |
| HSV | hsv(337, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 43%, 38%) |
| CIE-LAB | lab(37.92, 49.11, 0.62) |
| CIE-LCH | lch(37.92, 49.11, 0.73°) |
| OKLab | oklab(48.44% 0.1504 0.0022) |
| OKLCH | oklch(48.44% 0.15 0.8) |
| XYZ | xyz(16.9638, 10.0424, 10.7159) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.15
Berry
#990F4B
ΔE00 4.56
Dark Fuchsia
#9D0759
ΔE00 4.89
Deep Magenta
#A0025C
ΔE00 5.14
Purple Red
#990147
ΔE00 5.53
Light Burgundy
#A8415B
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F5A #2F9E73
analogous
#9E2F91 #9E2F5A #9E3C2F
triadic
#9E2F5A #5A9E2F #2F5A9E
tetradic
#9E2F5A #919E2F #2F9E73 #3C2F9E
square
#9E2F5A #919E2F #2F9E73 #3C2F9E
split-complementary
#9E2F5A #2F9E3C #2F919E
monochromatic
#401324 #6F213F #9E2F5A #C74376 #D57299
Accessibility & contrast
On white
6.98
#9E2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9E2F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F5A
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F5A | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#AB2041
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e2f5a; /* rgb */ color: rgb(158, 47, 90); /* oklch */ color: oklch(48.4% 0.150 0.8);
Tailwind
colors: {
custom: {
50: '#bf7088',
500: '#9e2f5a',
950: '#000000',
},
}SCSS
$custom: #9e2f5a; $custom-light: #bf7088; $custom-dark: #000000;
JSON
{
"hex": "#9e2f5a",
"rgb": {
"r": 158,
"g": 47,
"b": 90
},
"hsl": {
"h": 336.757,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48444,
"c": 0.15041,
"h": 0.8
},
"luminance": 0.1004
}Semantic roles & 50–950 ramp
primary
#9E2F5A
secondary
#6CBD9E
accent
#DEA44A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C