#9F1F22#9F1F22
#9F1F22 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.164 H 25.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F22 |
|---|---|
| RGB | rgb(159, 31, 34) |
| HSL | hsl(359, 67%, 37%) |
| HSV | hsv(359, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 78.6%, 37.6%) |
| CIE-LAB | lab(34.94, 51.10, 32.11) |
| CIE-LCH | lch(34.94, 60.35, 32.15°) |
| OKLab | oklab(45.89% 0.1475 0.0706) |
| OKLCH | oklch(45.89% 0.164 25.6) |
| XYZ | xyz(15.0786, 8.4688, 2.3538) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.26
Carmine
#9D0216
ΔE00 2.68
Firebrick
#B22222
ΔE00 4.13
Darkish Red
#A90308
ΔE00 5.31
Brownish Red
#9E3623
ΔE00 5.31
Crimson (survey)
#8C000F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F22 #1F9F9C
analogous
#9F1F62 #9F1F22 #9F5C1F
triadic
#9F1F22 #229F1F #1F229F
tetradic
#9F1F22 #629F1F #1F9F9C #5C1F9F
square
#9F1F22 #629F1F #1F9F9C #5C1F9F
split-complementary
#9F1F22 #1F9F5C #1F629F
monochromatic
#390B0C #6C1517 #9F1F22 #D2292D #DF5A5D
Accessibility & contrast
On white
7.80
#9F1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F22
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F22 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484020
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f22; /* rgb */ color: rgb(159, 31, 34); /* oklch */ color: oklch(45.9% 0.164 25.6);
Tailwind
colors: {
custom: {
50: '#c4685d',
500: '#9f1f22',
950: '#000000',
},
}SCSS
$custom: #9f1f22; $custom-light: #c4685d; $custom-dark: #000000;
JSON
{
"hex": "#9f1f22",
"rgb": {
"r": 159,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.594,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.45892,
"c": 0.16352,
"h": 25.6
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#9F1F22
secondary
#57C3C0
accent
#EAE63E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79