#9F1847#9F1847
#9F1847 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 7.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1847 |
|---|---|
| RGB | rgb(159, 24, 71) |
| HSL | hsl(339, 74%, 36%) |
| HSV | hsv(339, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 55.3%, 37.6%) |
| CIE-LAB | lab(34.97, 55.03, 8.65) |
| CIE-LCH | lch(34.97, 55.70, 8.93°) |
| OKLab | oklab(46.13% 0.1678 0.0221) |
| OKLCH | oklch(46.13% 0.169 7.5) |
| XYZ | xyz(15.7636, 8.4815, 6.7671) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.96
Berry
#990F4B
ΔE00 3.02
Purplish Red
#B0054B
ΔE00 3.03
Raspberry (survey)
#B00149
ΔE00 3.06
Cranberry
#9E003A
ΔE00 3.26
Violet Red
#A50055
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1847 #189F70
analogous
#9F188A #9F1847 #9F2C18
triadic
#9F1847 #479F18 #18479F
tetradic
#9F1847 #8A9F18 #189F70 #2C189F
square
#9F1847 #8A9F18 #189F70 #2C189F
split-complementary
#9F1847 #189F2C #188A9F
monochromatic
#350818 #6A102F #9F1847 #D4205F #E44D82
Accessibility & contrast
On white
7.79
#9F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1847
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1847 | 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)
#3F4148
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1847; /* rgb */ color: rgb(159, 24, 71); /* oklch */ color: oklch(46.1% 0.169 7.5);
Tailwind
colors: {
custom: {
50: '#c26679',
500: '#9f1847',
950: '#000000',
},
}SCSS
$custom: #9f1847; $custom-light: #c26679; $custom-dark: #000000;
JSON
{
"hex": "#9f1847",
"rgb": {
"r": 159,
"g": 24,
"b": 71
},
"hsl": {
"h": 339.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.4613,
"c": 0.16925,
"h": 7.5
},
"luminance": 0.08479
}Semantic roles & 50–950 ramp
primary
#9F1847
secondary
#4DC69C
accent
#F0B037
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B