#9F1F23#9F1F23
#9F1F23 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 25.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F23 |
|---|---|
| RGB | rgb(159, 31, 35) |
| HSL | hsl(358, 67%, 37%) |
| HSV | hsv(358, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 78%, 37.6%) |
| CIE-LAB | lab(34.95, 51.14, 31.53) |
| CIE-LCH | lch(34.95, 60.08, 31.66°) |
| OKLab | oklab(45.9% 0.1478 0.0697) |
| OKLCH | oklch(45.9% 0.163 25.2) |
| XYZ | xyz(15.0933, 8.4747, 2.4308) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.20
Carmine
#9D0216
ΔE00 2.82
Firebrick
#B22222
ΔE00 4.26
Crimson (survey)
#8C000F
ΔE00 5.47
Brownish Red
#9E3623
ΔE00 5.53
Brick
#A03623
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F23 #1F9F9B
analogous
#9F1F63 #9F1F23 #9F5B1F
triadic
#9F1F23 #239F1F #1F239F
tetradic
#9F1F23 #639F1F #1F9F9B #5B1F9F
square
#9F1F23 #639F1F #1F9F9B #5B1F9F
split-complementary
#9F1F23 #1F9F5B #1F639F
monochromatic
#390B0C #6C1518 #9F1F23 #D2292E #DF5A5E
Accessibility & contrast
On white
7.79
#9F1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F23
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F23 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474122
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f23; /* rgb */ color: rgb(159, 31, 35); /* oklch */ color: oklch(45.9% 0.163 25.2);
Tailwind
colors: {
custom: {
50: '#c4685e',
500: '#9f1f23',
950: '#000000',
},
}SCSS
$custom: #9f1f23; $custom-light: #c4685e; $custom-dark: #000000;
JSON
{
"hex": "#9f1f23",
"rgb": {
"r": 159,
"g": 31,
"b": 35
},
"hsl": {
"h": 358.125,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.45904,
"c": 0.16341,
"h": 25.2
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#9F1F23
secondary
#57C3BF
accent
#EAE53E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79