#8A1F20#8A1F20
#8A1F20 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 25.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F20 |
|---|---|
| RGB | rgb(138, 31, 32) |
| HSL | hsl(359, 63%, 33%) |
| HSV | hsv(359, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 76.8%, 45.9%) |
| CIE-LAB | lab(30.61, 44.45, 27.36) |
| CIE-LCH | lch(30.61, 52.19, 31.62°) |
| OKLab | oklab(41.9% 0.1287 0.0613) |
| OKLCH | oklch(41.9% 0.143 25.5) |
| XYZ | xyz(11.2332, 6.4893, 2.0273) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.71
Carmine
#9D0216
ΔE00 4.27
Burgundy
#800020
ΔE00 5.75
Indian Red
#850E04
ΔE00 5.81
Brown
#A52A2A
ΔE00 5.89
Dark Red
#840000
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F20 #1F8A89
analogous
#8A1F55 #8A1F20 #8A531F
triadic
#8A1F20 #208A1F #1F208A
tetradic
#8A1F20 #558A1F #1F8A89 #531F8A
square
#8A1F20 #558A1F #1F8A89 #531F8A
split-complementary
#8A1F20 #1F8A53 #1F558A
monochromatic
#260909 #581414 #8A1F20 #BC2A2C #D74C4E
Accessibility & contrast
On white
9.14
#8A1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F20
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F20 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F391F
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f20; /* rgb */ color: rgb(138, 31, 32); /* oklch */ color: oklch(41.9% 0.143 25.5);
Tailwind
colors: {
custom: {
50: '#b4645b',
500: '#8a1f20',
950: '#000000',
},
}SCSS
$custom: #8a1f20; $custom-light: #b4645b; $custom-dark: #000000;
JSON
{
"hex": "#8a1f20",
"rgb": {
"r": 138,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.439,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41902,
"c": 0.14255,
"h": 25.5
},
"luminance": 0.06488
}Semantic roles & 50–950 ramp
primary
#8A1F20
secondary
#4BBAB9
accent
#E6E541
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79