#8A1F23#8A1F23
#8A1F23 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.142 H 24.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F23 |
|---|---|
| RGB | rgb(138, 31, 35) |
| HSL | hsl(358, 63%, 33%) |
| HSV | hsv(358, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 74.6%, 45.9%) |
| CIE-LAB | lab(30.66, 44.58, 25.54) |
| CIE-LCH | lch(30.66, 51.38, 29.81°) |
| OKLab | oklab(41.95% 0.1298 0.058) |
| OKLCH | oklch(41.95% 0.142 24.1) |
| XYZ | xyz(11.2759, 6.5063, 2.2519) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.46
Carmine
#9D0216
ΔE00 4.82
Burgundy
#800020
ΔE00 5.04
Brown
#A52A2A
ΔE00 6.02
Wine Red
#7B0323
ΔE00 6.45
Indian Red
#850E04
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F23 #1F8A86
analogous
#8A1F58 #8A1F23 #8A501F
triadic
#8A1F23 #238A1F #1F238A
tetradic
#8A1F23 #588A1F #1F8A86 #501F8A
square
#8A1F23 #588A1F #1F8A86 #501F8A
split-complementary
#8A1F23 #1F8A50 #1F588A
monochromatic
#26090A #581416 #8A1F23 #BC2A30 #D74C52
Accessibility & contrast
On white
9.13
#8A1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F23
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F23 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3922
Deuteranopia (green-blind)
#5A501F
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f23; /* rgb */ color: rgb(138, 31, 35); /* oklch */ color: oklch(41.9% 0.142 24.1);
Tailwind
colors: {
custom: {
50: '#b4645e',
500: '#8a1f23',
950: '#000000',
},
}SCSS
$custom: #8a1f23; $custom-light: #b4645e; $custom-dark: #000000;
JSON
{
"hex": "#8a1f23",
"rgb": {
"r": 138,
"g": 31,
"b": 35
},
"hsl": {
"h": 357.757,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41946,
"c": 0.1422,
"h": 24.1
},
"luminance": 0.06505
}Semantic roles & 50–950 ramp
primary
#8A1F23
secondary
#4BBAB5
accent
#E6E041
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79