#9F174A#9F174A
#9F174A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.171 H 5.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F174A |
|---|---|
| RGB | rgb(159, 23, 74) |
| HSL | hsl(338, 75%, 36%) |
| HSV | hsv(338, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 53.5%, 37.6%) |
| CIE-LAB | lab(34.96, 55.49, 6.69) |
| CIE-LCH | lch(34.96, 55.90, 6.88°) |
| OKLab | oklab(46.15% 0.1697 0.0174) |
| OKLCH | oklch(46.15% 0.171 5.9) |
| XYZ | xyz(15.8420, 8.4804, 7.2799) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.19
Purple Red
#990147
ΔE00 2.38
Purplish Red
#B0054B
ΔE00 3.23
Raspberry (survey)
#B00149
ΔE00 3.39
Violet Red
#A50055
ΔE00 3.58
Cranberry
#9E003A
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F174A #179F6C
analogous
#9F178E #9F174A #9F2817
triadic
#9F174A #4A9F17 #174A9F
tetradic
#9F174A #8E9F17 #179F6C #28179F
square
#9F174A #8E9F17 #179F6C #28179F
split-complementary
#9F174A #179F28 #178E9F
monochromatic
#340818 #6A0F31 #9F174A #D41F63 #E54B85
Accessibility & contrast
On white
7.79
#9F174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F174A
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F174A | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E414B
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f174a; /* rgb */ color: rgb(159, 23, 74); /* oklch */ color: oklch(46.2% 0.171 5.9);
Tailwind
colors: {
custom: {
50: '#c2667c',
500: '#9f174a',
950: '#000000',
},
}SCSS
$custom: #9f174a; $custom-light: #c2667c; $custom-dark: #000000;
JSON
{
"hex": "#9f174a",
"rgb": {
"r": 159,
"g": 23,
"b": 74
},
"hsl": {
"h": 337.5,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46154,
"c": 0.17059,
"h": 5.9
},
"luminance": 0.08478
}Semantic roles & 50–950 ramp
primary
#9F174A
secondary
#4BC798
accent
#F1AB36
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B