#8A1F27#8A1F27
#8A1F27 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 22.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F27 |
|---|---|
| RGB | rgb(138, 31, 39) |
| HSL | hsl(356, 63%, 33%) |
| HSV | hsv(356, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 71.7%, 45.9%) |
| CIE-LAB | lab(30.72, 44.78, 23.08) |
| CIE-LCH | lch(30.72, 50.38, 27.27°) |
| OKLab | oklab(42.01% 0.1314 0.0534) |
| OKLCH | oklch(42.01% 0.142 22.1) |
| XYZ | xyz(11.3387, 6.5315, 2.5827) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.30
Wine Red
#7B0323
ΔE00 5.52
Crimson (survey)
#8C000F
ΔE00 5.65
Carmine
#9D0216
ΔE00 5.81
Brown
#A52A2A
ΔE00 6.48
Rouge
#AB1239
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F27 #1F8A82
analogous
#8A1F5C #8A1F27 #8A4C1F
triadic
#8A1F27 #278A1F #1F278A
tetradic
#8A1F27 #5C8A1F #1F8A82 #4C1F8A
square
#8A1F27 #5C8A1F #1F8A82 #4C1F8A
split-complementary
#8A1F27 #1F8A4C #1F5C8A
monochromatic
#26090B #581419 #8A1F27 #BC2A35 #D74C57
Accessibility & contrast
On white
9.11
#8A1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F27
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F27 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#595124
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f27; /* rgb */ color: rgb(138, 31, 39); /* oklch */ color: oklch(42.0% 0.142 22.1);
Tailwind
colors: {
custom: {
50: '#b46461',
500: '#8a1f27',
950: '#000000',
},
}SCSS
$custom: #8a1f27; $custom-light: #b46461; $custom-dark: #000000;
JSON
{
"hex": "#8a1f27",
"rgb": {
"r": 138,
"g": 31,
"b": 39
},
"hsl": {
"h": 355.514,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42009,
"c": 0.14181,
"h": 22.1
},
"luminance": 0.0653
}Semantic roles & 50–950 ramp
primary
#8A1F27
secondary
#4BBAB1
accent
#E6DA41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79