#9E2F5D#9E2F5D
#9E2F5D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 359.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F5D |
|---|---|
| RGB | rgb(158, 47, 93) |
| HSL | hsl(335, 54%, 40%) |
| HSV | hsv(335, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 41.1%, 38%) |
| CIE-LAB | lab(38.01, 49.42, -1.15) |
| CIE-LCH | lch(38.01, 49.44, 358.67°) |
| OKLab | oklab(48.54% 0.1514 -0.0024) |
| OKLCH | oklch(48.54% 0.151 359.1) |
| XYZ | xyz(17.0940, 10.0945, 11.4021) |
| Luminance | 0.1009 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.16
Dark Fuchsia
#9D0759
ΔE00 4.53
Deep Magenta
#A0025C
ΔE00 4.70
Berry
#990F4B
ΔE00 4.91
Mulberry
#920A4E
ΔE00 5.57
Dark Magenta
#960056
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F5D #2F9E70
analogous
#9E2F94 #9E2F5D #9E382F
triadic
#9E2F5D #5D9E2F #2F5D9E
tetradic
#9E2F5D #949E2F #2F9E70 #382F9E
square
#9E2F5D #949E2F #2F9E70 #382F9E
split-complementary
#9E2F5D #2F9E38 #2F949E
monochromatic
#401325 #6F2141 #9E2F5D #C7437A #D5729B
Accessibility & contrast
On white
6.96
#9E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#9E2F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F5D
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F5D | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#AB2242
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e2f5d; /* rgb */ color: rgb(158, 47, 93); /* oklch */ color: oklch(48.5% 0.151 359.1);
Tailwind
colors: {
custom: {
50: '#bf708a',
500: '#9e2f5d',
950: '#000000',
},
}SCSS
$custom: #9e2f5d; $custom-light: #bf708a; $custom-dark: #000000;
JSON
{
"hex": "#9e2f5d",
"rgb": {
"r": 158,
"g": 47,
"b": 93
},
"hsl": {
"h": 335.135,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48543,
"c": 0.15146,
"h": 359.1
},
"luminance": 0.10092
}Semantic roles & 50–950 ramp
primary
#9E2F5D
secondary
#6CBD9B
accent
#DEA04A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C