#9F1F40#9F1F40
#9F1F40 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 12.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F40 |
|---|---|
| RGB | rgb(159, 31, 64) |
| HSL | hsl(345, 67%, 37%) |
| HSV | hsv(345, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 59.7%, 37.6%) |
| CIE-LAB | lab(35.45, 52.68, 13.86) |
| CIE-LCH | lch(35.45, 54.47, 14.74°) |
| OKLab | oklab(46.43% 0.1591 0.0343) |
| OKLCH | oklch(46.43% 0.163 12.2) |
| XYZ | xyz(15.7151, 8.7234, 5.7058) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.43
Rouge
#AB1239
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.16
Red Wine
#8C0034
ΔE00 5.21
Purple Red
#990147
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F40 #1F9F7E
analogous
#9F1F80 #9F1F40 #9F3E1F
triadic
#9F1F40 #409F1F #1F409F
tetradic
#9F1F40 #809F1F #1F9F7E #3E1F9F
square
#9F1F40 #809F1F #1F9F7E #3E1F9F
split-complementary
#9F1F40 #1F9F3E #1F809F
monochromatic
#390B17 #6C152B #9F1F40 #D22955 #DF5A7C
Accessibility & contrast
On white
7.65
#9F1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F40
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F40 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1f40; /* rgb */ color: rgb(159, 31, 64); /* oklch */ color: oklch(46.4% 0.163 12.2);
Tailwind
colors: {
custom: {
50: '#c26874',
500: '#9f1f40',
950: '#000000',
},
}SCSS
$custom: #9f1f40; $custom-light: #c26874; $custom-dark: #000000;
JSON
{
"hex": "#9f1f40",
"rgb": {
"r": 159,
"g": 31,
"b": 64
},
"hsl": {
"h": 344.531,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46429,
"c": 0.16272,
"h": 12.2
},
"luminance": 0.08721
}Semantic roles & 50–950 ramp
primary
#9F1F40
secondary
#57C3A7
accent
#EABE3E
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B