#9A1F22#9A1F22
#9A1F22 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.159 H 25.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F22 |
|---|---|
| RGB | rgb(154, 31, 34) |
| HSL | hsl(359, 66%, 36%) |
| HSV | hsv(359, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 77.9%, 39.6%) |
| CIE-LAB | lab(33.92, 49.58, 30.71) |
| CIE-LCH | lch(33.92, 58.32, 31.78°) |
| OKLab | oklab(44.95% 0.1433 0.068) |
| OKLCH | oklch(44.95% 0.159 25.4) |
| XYZ | xyz(14.1068, 7.9677, 2.3082) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.63
Brown
#A52A2A
ΔE00 3.00
Crimson (survey)
#8C000F
ΔE00 4.74
Firebrick
#B22222
ΔE00 5.16
Brownish Red
#9E3623
ΔE00 5.76
Brick
#A03623
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F22 #1F9A97
analogous
#9A1F60 #9A1F22 #9A5A1F
triadic
#9A1F22 #229A1F #1F229A
tetradic
#9A1F22 #609A1F #1F9A97 #5A1F9A
square
#9A1F22 #609A1F #1F9A97 #5A1F9A
split-complementary
#9A1F22 #1F9A5A #1F609A
monochromatic
#340A0C #671517 #9A1F22 #CD292D #DD565A
Accessibility & contrast
On white
8.10
#9A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#9A1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F22
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F22 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F21
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#AA0022
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1f22; /* rgb */ color: rgb(154, 31, 34); /* oklch */ color: oklch(44.9% 0.159 25.4);
Tailwind
colors: {
custom: {
50: '#c0675d',
500: '#9a1f22',
950: '#000000',
},
}SCSS
$custom: #9a1f22; $custom-light: #c0675d; $custom-dark: #000000;
JSON
{
"hex": "#9a1f22",
"rgb": {
"r": 154,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.537,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.44949,
"c": 0.15859,
"h": 25.4
},
"luminance": 0.07965
}Semantic roles & 50–950 ramp
primary
#9A1F22
secondary
#54C1BE
accent
#E9E53E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79