#9E3151#9E3151
#9E3151 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.145 H 6.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3151 |
|---|---|
| RGB | rgb(158, 49, 81) |
| HSL | hsl(342, 53%, 41%) |
| HSV | hsv(342, 69%, 62%) |
| CMYK | cmyk(0%, 69%, 48.7%, 38%) |
| CIE-LAB | lab(37.95, 47.41, 6.40) |
| CIE-LCH | lch(37.95, 47.84, 7.69°) |
| OKLab | oklab(48.39% 0.1445 0.0168) |
| OKLCH | oklch(48.39% 0.145 6.6) |
| XYZ | xyz(16.6854, 10.0619, 8.8465) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.18
Purplish Red
#B0054B
ΔE00 4.53
Raspberry (survey)
#B00149
ΔE00 4.76
Berry
#990F4B
ΔE00 5.01
Purple Red
#990147
ΔE00 5.60
Violet Red
#A50055
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3151 #319E7E
analogous
#9E3187 #9E3151 #9E4731
triadic
#9E3151 #519E31 #31519E
tetradic
#9E3151 #879E31 #319E7E #47319E
square
#9E3151 #879E31 #319E7E #47319E
split-complementary
#9E3151 #319E47 #31879E
monochromatic
#411421 #6F2339 #9E3151 #C6466C #D47591
Accessibility & contrast
On white
6.97
#9E3151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#9E3151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3151
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3151 | 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)
#494C52
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#AC1F3E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e3151; /* rgb */ color: rgb(158, 49, 81); /* oklch */ color: oklch(48.4% 0.145 6.6);
Tailwind
colors: {
custom: {
50: '#c07181',
500: '#9e3151',
950: '#000000',
},
}SCSS
$custom: #9e3151; $custom-light: #c07181; $custom-dark: #000000;
JSON
{
"hex": "#9e3151",
"rgb": {
"r": 158,
"g": 49,
"b": 81
},
"hsl": {
"h": 342.385,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.48386,
"c": 0.14546,
"h": 6.6
},
"luminance": 0.1006
}Semantic roles & 50–950 ramp
primary
#9E3151
secondary
#6EBCA5
accent
#DCB24C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C