#9E154A#9E154A
#9E154A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.171 H 5.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9E154A |
|---|---|
| RGB | rgb(158, 21, 74) |
| HSL | hsl(337, 77%, 35%) |
| HSV | hsv(337, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 53.2%, 38%) |
| CIE-LAB | lab(34.60, 55.67, 6.16) |
| CIE-LCH | lch(34.60, 56.01, 6.31°) |
| OKLab | oklab(45.85% 0.1704 0.0161) |
| OKLCH | oklch(45.85% 0.171 5.4) |
| XYZ | xyz(15.6062, 8.3021, 7.2579) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.79
Purple Red
#990147
ΔE00 1.99
Violet Red
#A50055
ΔE00 3.36
Purplish Red
#B0054B
ΔE00 3.53
Raspberry (survey)
#B00149
ΔE00 3.69
Cranberry
#9E003A
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E154A #159E69
analogous
#9E158F #9E154A #9E2415
triadic
#9E154A #4A9E15 #154A9E
tetradic
#9E154A #8F9E15 #159E69 #24159E
square
#9E154A #8F9E15 #159E69 #24159E
split-complementary
#9E154A #159E24 #158F9E
monochromatic
#320717 #680E31 #9E154A #D41C63 #E74785
Accessibility & contrast
On white
7.89
#9E154A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9E154A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E154A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E154A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E154A | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D404B
Deuteranopia (green-blind)
#605B47
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e154a; /* rgb */ color: rgb(158, 21, 74); /* oklch */ color: oklch(45.9% 0.171 5.4);
Tailwind
colors: {
custom: {
50: '#c1657c',
500: '#9e154a',
950: '#000000',
},
}SCSS
$custom: #9e154a; $custom-light: #c1657c; $custom-dark: #000000;
JSON
{
"hex": "#9e154a",
"rgb": {
"r": 158,
"g": 21,
"b": 74
},
"hsl": {
"h": 336.788,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45854,
"c": 0.17114,
"h": 5.4
},
"luminance": 0.083
}Semantic roles & 50–950 ramp
primary
#9E154A
secondary
#47C796
accent
#F3A935
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B