#9F1747#9F1747
#9F1747 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.170 H 7.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1747 |
|---|---|
| RGB | rgb(159, 23, 71) |
| HSL | hsl(339, 75%, 36%) |
| HSV | hsv(339, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 55.3%, 37.6%) |
| CIE-LAB | lab(34.88, 55.26, 8.54) |
| CIE-LCH | lch(34.88, 55.92, 8.78°) |
| OKLab | oklab(46.07% 0.1686 0.0219) |
| OKLCH | oklch(46.07% 0.17 7.4) |
| XYZ | xyz(15.7433, 8.4410, 6.7603) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.86
Berry
#990F4B
ΔE00 2.93
Purplish Red
#B0054B
ΔE00 3.05
Raspberry (survey)
#B00149
ΔE00 3.08
Cranberry
#9E003A
ΔE00 3.28
Violet Red
#A50055
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1747 #179F6F
analogous
#9F178B #9F1747 #9F2B17
triadic
#9F1747 #479F17 #17479F
tetradic
#9F1747 #8B9F17 #179F6F #2B179F
square
#9F1747 #8B9F17 #179F6F #2B179F
split-complementary
#9F1747 #179F2B #178B9F
monochromatic
#340817 #6A0F2F #9F1747 #D41F5F #E54B82
Accessibility & contrast
On white
7.81
#9F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1747
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1747 | 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)
#3E4148
Deuteranopia (green-blind)
#615C44
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1747; /* rgb */ color: rgb(159, 23, 71); /* oklch */ color: oklch(46.1% 0.170 7.4);
Tailwind
colors: {
custom: {
50: '#c26679',
500: '#9f1747',
950: '#000000',
},
}SCSS
$custom: #9f1747; $custom-light: #c26679; $custom-dark: #000000;
JSON
{
"hex": "#9f1747",
"rgb": {
"r": 159,
"g": 23,
"b": 71
},
"hsl": {
"h": 338.824,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.4607,
"c": 0.16996,
"h": 7.4
},
"luminance": 0.08439
}Semantic roles & 50–950 ramp
primary
#9F1747
secondary
#4BC79B
accent
#F1AF36
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B