#8A1F2C#8A1F2C
#8A1F2C is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 19.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F2C |
|---|---|
| RGB | rgb(138, 31, 44) |
| HSL | hsl(353, 63%, 33%) |
| HSV | hsv(353, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 68.1%, 45.9%) |
| CIE-LAB | lab(30.80, 45.05, 19.96) |
| CIE-LCH | lch(30.80, 49.28, 23.90°) |
| OKLab | oklab(42.1% 0.1334 0.0472) |
| OKLCH | oklch(42.1% 0.141 19.5) |
| XYZ | xyz(11.4271, 6.5668, 3.0482) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.96
Wine Red
#7B0323
ΔE00 4.71
Red Wine
#8C0034
ΔE00 5.91
Cranberry
#9E003A
ΔE00 6.22
Rouge
#AB1239
ΔE00 6.52
Bordeaux
#7B002C
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F2C #1F8A7D
analogous
#8A1F61 #8A1F2C #8A471F
triadic
#8A1F2C #2C8A1F #1F2C8A
tetradic
#8A1F2C #618A1F #1F8A7D #471F8A
square
#8A1F2C #618A1F #1F8A7D #471F8A
split-complementary
#8A1F2C #1F8A47 #1F618A
monochromatic
#26090C #58141C #8A1F2C #BC2A3C #D74C5D
Accessibility & contrast
On white
9.08
#8A1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F2C
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F2C | 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)
#3E3A2C
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1f2c; /* rgb */ color: rgb(138, 31, 44); /* oklch */ color: oklch(42.1% 0.141 19.5);
Tailwind
colors: {
custom: {
50: '#b36565',
500: '#8a1f2c',
950: '#000000',
},
}SCSS
$custom: #8a1f2c; $custom-light: #b36565; $custom-dark: #000000;
JSON
{
"hex": "#8a1f2c",
"rgb": {
"r": 138,
"g": 31,
"b": 44
},
"hsl": {
"h": 352.71,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42099,
"c": 0.14149,
"h": 19.5
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#8A1F2C
secondary
#4BBAAC
accent
#E6D241
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A