#8A1F28#8A1F28
#8A1F28 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 21.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F28 |
|---|---|
| RGB | rgb(138, 31, 40) |
| HSL | hsl(355, 63%, 33%) |
| HSV | hsv(355, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 71%, 45.9%) |
| CIE-LAB | lab(30.73, 44.83, 22.46) |
| CIE-LCH | lch(30.73, 50.14, 26.61°) |
| OKLab | oklab(42.03% 0.1318 0.0522) |
| OKLCH | oklch(42.03% 0.142 21.6) |
| XYZ | xyz(11.3555, 6.5382, 2.6711) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.17
Wine Red
#7B0323
ΔE00 5.32
Crimson (survey)
#8C000F
ΔE00 5.97
Carmine
#9D0216
ΔE00 6.09
Brown
#A52A2A
ΔE00 6.64
Rouge
#AB1239
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F28 #1F8A81
analogous
#8A1F5D #8A1F28 #8A4B1F
triadic
#8A1F28 #288A1F #1F288A
tetradic
#8A1F28 #5D8A1F #1F8A81 #4B1F8A
square
#8A1F28 #5D8A1F #1F8A81 #4B1F8A
split-complementary
#8A1F28 #1F8A4B #1F5D8A
monochromatic
#26090B #58141A #8A1F28 #BC2A36 #D74C58
Accessibility & contrast
On white
9.10
#8A1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F28
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F28 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3A27
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f28; /* rgb */ color: rgb(138, 31, 40); /* oklch */ color: oklch(42.0% 0.142 21.6);
Tailwind
colors: {
custom: {
50: '#b36461',
500: '#8a1f28',
950: '#000000',
},
}SCSS
$custom: #8a1f28; $custom-light: #b36461; $custom-dark: #000000;
JSON
{
"hex": "#8a1f28",
"rgb": {
"r": 138,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.953,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42026,
"c": 0.14174,
"h": 21.6
},
"luminance": 0.06536
}Semantic roles & 50–950 ramp
primary
#8A1F28
secondary
#4BBAB0
accent
#E6D841
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79