#9E2F5B#9E2F5B
#9E2F5B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 0.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2F5B |
|---|---|
| RGB | rgb(158, 47, 91) |
| HSL | hsl(336, 54%, 40%) |
| HSV | hsv(336, 70%, 62%) |
| CMYK | cmyk(0%, 70.3%, 42.4%, 38%) |
| CIE-LAB | lab(37.95, 49.21, 0.03) |
| CIE-LCH | lch(37.95, 49.21, 0.04°) |
| OKLab | oklab(48.48% 0.1508 0.0007) |
| OKLCH | oklch(48.48% 0.151 0.3) |
| XYZ | xyz(17.0066, 10.0596, 10.9416) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.14
Berry
#990F4B
ΔE00 4.66
Dark Fuchsia
#9D0759
ΔE00 4.75
Deep Magenta
#A0025C
ΔE00 4.98
Mulberry
#920A4E
ΔE00 5.57
Purple Red
#990147
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2F5B #2F9E72
analogous
#9E2F92 #9E2F5B #9E3A2F
triadic
#9E2F5B #5B9E2F #2F5B9E
tetradic
#9E2F5B #929E2F #2F9E72 #3A2F9E
square
#9E2F5B #929E2F #2F9E72 #3A2F9E
split-complementary
#9E2F5B #2F9E3A #2F929E
monochromatic
#401325 #6F2140 #9E2F5B #C74377 #D57299
Accessibility & contrast
On white
6.97
#9E2F5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9E2F5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2F5B
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2F5B | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#646158
Tritanopia (blue-blind)
#AB2141
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e2f5b; /* rgb */ color: rgb(158, 47, 91); /* oklch */ color: oklch(48.5% 0.151 0.3);
Tailwind
colors: {
custom: {
50: '#bf7089',
500: '#9e2f5b',
950: '#000000',
},
}SCSS
$custom: #9e2f5b; $custom-light: #bf7089; $custom-dark: #000000;
JSON
{
"hex": "#9e2f5b",
"rgb": {
"r": 158,
"g": 47,
"b": 91
},
"hsl": {
"h": 336.216,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.48477,
"c": 0.15075,
"h": 0.3
},
"luminance": 0.10057
}Semantic roles & 50–950 ramp
primary
#9E2F5B
secondary
#6CBD9D
accent
#DEA34A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C