#8A1F2B#8A1F2B
#8A1F2B is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.142 H 20.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F2B |
|---|---|
| RGB | rgb(138, 31, 43) |
| HSL | hsl(353, 63%, 33%) |
| HSV | hsv(353, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 68.8%, 45.9%) |
| CIE-LAB | lab(30.78, 44.99, 20.59) |
| CIE-LCH | lch(30.78, 49.48, 24.59°) |
| OKLab | oklab(42.08% 0.133 0.0485) |
| OKLCH | oklch(42.08% 0.142 20) |
| XYZ | xyz(11.4085, 6.5594, 2.9504) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.96
Wine Red
#7B0323
ΔE00 4.83
Red Wine
#8C0034
ΔE00 6.24
Cranberry
#9E003A
ΔE00 6.51
Rouge
#AB1239
ΔE00 6.65
Crimson (survey)
#8C000F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F2B #1F8A7E
analogous
#8A1F60 #8A1F2B #8A481F
triadic
#8A1F2B #2B8A1F #1F2B8A
tetradic
#8A1F2B #608A1F #1F8A7E #481F8A
square
#8A1F2B #608A1F #1F8A7E #481F8A
split-complementary
#8A1F2B #1F8A48 #1F608A
monochromatic
#26090C #58141B #8A1F2B #BC2A3B #D74C5C
Accessibility & contrast
On white
9.08
#8A1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F2B
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F2B | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f2b; /* rgb */ color: rgb(138, 31, 43); /* oklch */ color: oklch(42.1% 0.142 20.0);
Tailwind
colors: {
custom: {
50: '#b36564',
500: '#8a1f2b',
950: '#000000',
},
}SCSS
$custom: #8a1f2b; $custom-light: #b36564; $custom-dark: #000000;
JSON
{
"hex": "#8a1f2b",
"rgb": {
"r": 138,
"g": 31,
"b": 43
},
"hsl": {
"h": 353.271,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.4208,
"c": 0.14154,
"h": 20
},
"luminance": 0.06558
}Semantic roles & 50–950 ramp
primary
#8A1F2B
secondary
#4BBAAD
accent
#E6D441
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79