#9F174D#9F174D
#9F174D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.171 H 4.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F174D |
|---|---|
| RGB | rgb(159, 23, 77) |
| HSL | hsl(336, 75%, 36%) |
| HSV | hsv(336, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 51.6%, 37.6%) |
| CIE-LAB | lab(35.05, 55.73, 4.86) |
| CIE-LCH | lch(35.05, 55.95, 4.98°) |
| OKLab | oklab(46.24% 0.1708 0.0129) |
| OKLCH | oklch(46.24% 0.171 4.3) |
| XYZ | xyz(15.9455, 8.5218, 7.8250) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.68
Purple Red
#990147
ΔE00 2.21
Violet Red
#A50055
ΔE00 2.76
Purplish Red
#B0054B
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 3.89
Mulberry
#920A4E
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F174D #179F69
analogous
#9F1791 #9F174D #9F2517
triadic
#9F174D #4D9F17 #174D9F
tetradic
#9F174D #919F17 #179F69 #25179F
square
#9F174D #919F17 #179F69 #25179F
split-complementary
#9F174D #179F25 #17919F
monochromatic
#340819 #6A0F33 #9F174D #D41F67 #E54B88
Accessibility & contrast
On white
7.77
#9F174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F174D
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F174D | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D424E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f174d; /* rgb */ color: rgb(159, 23, 77); /* oklch */ color: oklch(46.2% 0.171 4.3);
Tailwind
colors: {
custom: {
50: '#c2667e',
500: '#9f174d',
950: '#000000',
},
}SCSS
$custom: #9f174d; $custom-light: #c2667e; $custom-dark: #000000;
JSON
{
"hex": "#9f174d",
"rgb": {
"r": 159,
"g": 23,
"b": 77
},
"hsl": {
"h": 336.176,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46242,
"c": 0.17129,
"h": 4.3
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#9F174D
secondary
#4BC796
accent
#F1A736
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B