#8A1F26#8A1F26
#8A1F26 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 22.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F26 |
|---|---|
| RGB | rgb(138, 31, 38) |
| HSL | hsl(356, 63%, 33%) |
| HSV | hsv(356, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 72.5%, 45.9%) |
| CIE-LAB | lab(30.70, 44.73, 23.70) |
| CIE-LCH | lch(30.70, 50.62, 27.92°) |
| OKLab | oklab(41.99% 0.131 0.0546) |
| OKLCH | oklch(41.99% 0.142 22.6) |
| XYZ | xyz(11.3224, 6.5249, 2.4966) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.45
Crimson (survey)
#8C000F
ΔE00 5.34
Carmine
#9D0216
ΔE00 5.54
Wine Red
#7B0323
ΔE00 5.73
Brown
#A52A2A
ΔE00 6.34
Rouge
#AB1239
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F26 #1F8A83
analogous
#8A1F5B #8A1F26 #8A4D1F
triadic
#8A1F26 #268A1F #1F268A
tetradic
#8A1F26 #5B8A1F #1F8A83 #4D1F8A
square
#8A1F26 #5B8A1F #1F8A83 #4D1F8A
split-complementary
#8A1F26 #1F8A4D #1F5B8A
monochromatic
#26090A #581418 #8A1F26 #BC2A34 #D74C56
Accessibility & contrast
On white
9.11
#8A1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F26
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F26 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#595122
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f26; /* rgb */ color: rgb(138, 31, 38); /* oklch */ color: oklch(42.0% 0.142 22.6);
Tailwind
colors: {
custom: {
50: '#b46460',
500: '#8a1f26',
950: '#000000',
},
}SCSS
$custom: #8a1f26; $custom-light: #b46460; $custom-dark: #000000;
JSON
{
"hex": "#8a1f26",
"rgb": {
"r": 138,
"g": 31,
"b": 38
},
"hsl": {
"h": 356.075,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41993,
"c": 0.14189,
"h": 22.6
},
"luminance": 0.06523
}Semantic roles & 50–950 ramp
primary
#8A1F26
secondary
#4BBAB2
accent
#E6DC41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79