#9E154E#9E154E
#9E154E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 3.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9E154E |
|---|---|
| RGB | rgb(158, 21, 78) |
| HSL | hsl(335, 77%, 35%) |
| HSV | hsv(335, 87%, 62%) |
| CMYK | cmyk(0%, 86.7%, 50.6%, 38%) |
| CIE-LAB | lab(34.72, 56.00, 3.71) |
| CIE-LCH | lch(34.72, 56.12, 3.79°) |
| OKLab | oklab(45.97% 0.1719 0.01) |
| OKLCH | oklch(45.97% 0.172 3.3) |
| XYZ | xyz(15.7453, 8.3578, 7.9904) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.26
Purple Red
#990147
ΔE00 2.00
Violet Red
#A50055
ΔE00 2.30
Mulberry
#920A4E
ΔE00 3.49
Dark Fuchsia
#9D0759
ΔE00 3.91
Purplish Red
#B0054B
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E154E #159E65
analogous
#9E1593 #9E154E #9E2015
triadic
#9E154E #4E9E15 #154E9E
tetradic
#9E154E #939E15 #159E65 #20159E
square
#9E154E #939E15 #159E65 #20159E
split-complementary
#9E154E #159E20 #15939E
monochromatic
#320719 #680E33 #9E154E #D41C69 #E74789
Accessibility & contrast
On white
7.86
#9E154E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9E154E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E154E
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E154E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E154E | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e154e; /* rgb */ color: rgb(158, 21, 78); /* oklch */ color: oklch(46.0% 0.172 3.3);
Tailwind
colors: {
custom: {
50: '#c1667f',
500: '#9e154e',
950: '#000000',
},
}SCSS
$custom: #9e154e; $custom-light: #c1667f; $custom-dark: #000000;
JSON
{
"hex": "#9e154e",
"rgb": {
"r": 158,
"g": 21,
"b": 78
},
"hsl": {
"h": 335.036,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.45974,
"c": 0.17215,
"h": 3.3
},
"luminance": 0.08355
}Semantic roles & 50–950 ramp
primary
#9E154E
secondary
#47C792
accent
#F3A435
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C