#9F1F48#9F1F48
#9F1F48 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 8.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F48 |
|---|---|
| RGB | rgb(159, 31, 72) |
| HSL | hsl(341, 67%, 37%) |
| HSV | hsv(341, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 54.7%, 37.6%) |
| CIE-LAB | lab(35.64, 53.27, 8.94) |
| CIE-LCH | lch(35.64, 54.01, 9.53°) |
| OKLab | oklab(46.63% 0.1622 0.0229) |
| OKLCH | oklch(46.63% 0.164 8) |
| XYZ | xyz(15.9593, 8.8211, 6.9919) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.06
Raspberry (survey)
#B00149
ΔE00 3.09
Cranberry
#9E003A
ΔE00 3.51
Berry
#990F4B
ΔE00 3.58
Purple Red
#990147
ΔE00 3.66
Violet Red
#A50055
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F48 #1F9F76
analogous
#9F1F88 #9F1F48 #9F361F
triadic
#9F1F48 #489F1F #1F489F
tetradic
#9F1F48 #889F1F #1F9F76 #361F9F
square
#9F1F48 #889F1F #1F9F76 #361F9F
split-complementary
#9F1F48 #1F9F36 #1F889F
monochromatic
#390B1A #6C1531 #9F1F48 #D2295F #DF5A84
Accessibility & contrast
On white
7.60
#9F1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9F1F48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F48
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F48 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424349
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f48; /* rgb */ color: rgb(159, 31, 72); /* oklch */ color: oklch(46.6% 0.164 8.0);
Tailwind
colors: {
custom: {
50: '#c2697a',
500: '#9f1f48',
950: '#000000',
},
}SCSS
$custom: #9f1f48; $custom-light: #c2697a; $custom-dark: #000000;
JSON
{
"hex": "#9f1f48",
"rgb": {
"r": 159,
"g": 31,
"b": 72
},
"hsl": {
"h": 340.781,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46632,
"c": 0.16383,
"h": 8
},
"luminance": 0.08819
}Semantic roles & 50–950 ramp
primary
#9F1F48
secondary
#57C3A0
accent
#EAB33E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B