#9F1F31#9F1F31
#9F1F31 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 19.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F31 |
|---|---|
| RGB | rgb(159, 31, 49) |
| HSL | hsl(352, 67%, 37%) |
| HSV | hsv(352, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 69.2%, 37.6%) |
| CIE-LAB | lab(35.15, 51.77, 23.11) |
| CIE-LCH | lch(35.15, 56.69, 24.06°) |
| OKLab | oklab(46.12% 0.153 0.0541) |
| OKLCH | oklch(46.12% 0.162 19.5) |
| XYZ | xyz(15.3442, 8.5750, 3.7523) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.33
Brown
#A52A2A
ΔE00 4.83
Cranberry
#9E003A
ΔE00 5.75
Rose Red
#BE013C
ΔE00 5.92
Lipstick Red
#C0022F
ΔE00 6.20
Carmine
#9D0216
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F31 #1F9F8D
analogous
#9F1F71 #9F1F31 #9F4D1F
triadic
#9F1F31 #319F1F #1F319F
tetradic
#9F1F31 #719F1F #1F9F8D #4D1F9F
square
#9F1F31 #719F1F #1F9F8D #4D1F9F
split-complementary
#9F1F31 #1F9F4D #1F719F
monochromatic
#390B11 #6C1521 #9F1F31 #D22941 #DF5A6C
Accessibility & contrast
On white
7.74
#9F1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F31
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F31 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464131
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1f31; /* rgb */ color: rgb(159, 31, 49); /* oklch */ color: oklch(46.1% 0.162 19.5);
Tailwind
colors: {
custom: {
50: '#c36869',
500: '#9f1f31',
950: '#000000',
},
}SCSS
$custom: #9f1f31; $custom-light: #c36869; $custom-dark: #000000;
JSON
{
"hex": "#9f1f31",
"rgb": {
"r": 159,
"g": 31,
"b": 49
},
"hsl": {
"h": 351.563,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46117,
"c": 0.16232,
"h": 19.5
},
"luminance": 0.08573
}Semantic roles & 50–950 ramp
primary
#9F1F31
secondary
#57C3B4
accent
#EAD23E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A