#9E174F#9E174F
#9E174F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 3.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9E174F |
|---|---|
| RGB | rgb(158, 23, 79) |
| HSL | hsl(335, 75%, 35%) |
| HSV | hsv(335, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 50%, 38%) |
| CIE-LAB | lab(34.90, 55.64, 3.32) |
| CIE-LCH | lch(34.90, 55.74, 3.42°) |
| OKLab | oklab(46.12% 0.1708 0.0091) |
| OKLCH | oklch(46.12% 0.171 3) |
| XYZ | xyz(15.8196, 8.4487, 8.1934) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.39
Purple Red
#990147
ΔE00 2.21
Violet Red
#A50055
ΔE00 2.22
Mulberry
#920A4E
ΔE00 3.48
Dark Fuchsia
#9D0759
ΔE00 3.78
Purplish Red
#B0054B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E174F #179E66
analogous
#9E1792 #9E174F #9E2217
triadic
#9E174F #4F9E17 #174F9E
tetradic
#9E174F #929E17 #179E66 #22179E
square
#9E174F #929E17 #179E66 #22179E
split-complementary
#9E174F #179E22 #17929E
monochromatic
#33071A #690F34 #9E174F #D31F6A #E54B8B
Accessibility & contrast
On white
7.81
#9E174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E174F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E174F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4150
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e174f; /* rgb */ color: rgb(158, 23, 79); /* oklch */ color: oklch(46.1% 0.171 3.0);
Tailwind
colors: {
custom: {
50: '#c16680',
500: '#9e174f',
950: '#000000',
},
}SCSS
$custom: #9e174f; $custom-light: #c16680; $custom-dark: #000000;
JSON
{
"hex": "#9e174f",
"rgb": {
"r": 158,
"g": 23,
"b": 79
},
"hsl": {
"h": 335.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.46117,
"c": 0.17103,
"h": 3
},
"luminance": 0.08446
}Semantic roles & 50–950 ramp
primary
#9E174F
secondary
#4AC693
accent
#F1A437
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C