#9F1447#9F1447
#9F1447 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.172 H 7.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1447 |
|---|---|
| RGB | rgb(159, 20, 71) |
| HSL | hsl(338, 78%, 35%) |
| HSV | hsv(338, 87%, 62%) |
| CMYK | cmyk(0%, 87.4%, 55.3%, 37.6%) |
| CIE-LAB | lab(34.66, 55.91, 8.22) |
| CIE-LCH | lch(34.66, 56.51, 8.36°) |
| OKLab | oklab(45.9% 0.1707 0.0211) |
| OKLCH | oklch(45.9% 0.172 7) |
| XYZ | xyz(15.6871, 8.3285, 6.7416) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.56
Berry
#990F4B
ΔE00 2.67
Purplish Red
#B0054B
ΔE00 3.11
Raspberry (survey)
#B00149
ΔE00 3.15
Cranberry
#9E003A
ΔE00 3.34
Violet Red
#A50055
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1447 #149F6C
analogous
#9F148C #9F1447 #9F2714
triadic
#9F1447 #479F14 #14479F
tetradic
#9F1447 #8C9F14 #149F6C #27149F
square
#9F1447 #8C9F14 #149F6C #27149F
split-complementary
#9F1447 #149F27 #148C9F
monochromatic
#320616 #690D2F #9F1447 #D51B5F #E84681
Accessibility & contrast
On white
7.88
#9F1447 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F1447 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1447
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1447 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1447 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1447; /* rgb */ color: rgb(159, 20, 71); /* oklch */ color: oklch(45.9% 0.172 7.0);
Tailwind
colors: {
custom: {
50: '#c26579',
500: '#9f1447',
950: '#000000',
},
}SCSS
$custom: #9f1447; $custom-light: #c26579; $custom-dark: #000000;
JSON
{
"hex": "#9f1447",
"rgb": {
"r": 159,
"g": 20,
"b": 71
},
"hsl": {
"h": 337.986,
"s": 77.654,
"l": 35.098
},
"oklch": {
"l": 0.45904,
"c": 0.17196,
"h": 7
},
"luminance": 0.08326
}Semantic roles & 50–950 ramp
primary
#9F1447
secondary
#46C899
accent
#F4AE34
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B