#8A1B2C#8A1B2C
#8A1B2C is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.145 H 18.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B2C |
|---|---|
| RGB | rgb(138, 27, 44) |
| HSL | hsl(351, 67%, 32%) |
| HSV | hsv(351, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 68.1%, 45.9%) |
| CIE-LAB | lab(30.33, 46.37, 19.37) |
| CIE-LCH | lch(30.33, 50.26, 22.67°) |
| OKLab | oklab(41.75% 0.1376 0.0459) |
| OKLCH | oklch(41.75% 0.145 18.4) |
| XYZ | xyz(11.3290, 6.3707, 3.0155) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.54
Wine Red
#7B0323
ΔE00 4.16
Red Wine
#8C0034
ΔE00 5.16
Cranberry
#9E003A
ΔE00 5.68
Bordeaux
#7B002C
ΔE00 6.07
Rouge
#AB1239
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B2C #1B8A79
analogous
#8A1B63 #8A1B2C #8A421B
triadic
#8A1B2C #2C8A1B #1B2C8A
tetradic
#8A1B2C #638A1B #1B8A79 #421B8A
square
#8A1B2C #638A1B #1B8A79 #421B8A
split-complementary
#8A1B2C #1B8A42 #1B638A
monochromatic
#24070B #57111C #8A1B2C #BD253C #DB455C
Accessibility & contrast
On white
9.24
#8A1B2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1B2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B2C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B2C | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C382C
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1b2c; /* rgb */ color: rgb(138, 27, 44); /* oklch */ color: oklch(41.8% 0.145 18.4);
Tailwind
colors: {
custom: {
50: '#b36364',
500: '#8a1b2c',
950: '#000000',
},
}SCSS
$custom: #8a1b2c; $custom-light: #b36364; $custom-dark: #000000;
JSON
{
"hex": "#8a1b2c",
"rgb": {
"r": 138,
"g": 27,
"b": 44
},
"hsl": {
"h": 350.811,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.4175,
"c": 0.14506,
"h": 18.4
},
"luminance": 0.06369
}Semantic roles & 50–950 ramp
primary
#8A1B2C
secondary
#45BCAA
accent
#EAD03E
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A