#8A1B33#8A1B33
#8A1B33 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 14.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B33 |
|---|---|
| RGB | rgb(138, 27, 51) |
| HSL | hsl(347, 67%, 32%) |
| HSV | hsv(347, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 63%, 45.9%) |
| CIE-LAB | lab(30.47, 46.81, 14.94) |
| CIE-LCH | lch(30.47, 49.13, 17.70°) |
| OKLab | oklab(41.9% 0.1405 0.0365) |
| OKLCH | oklch(41.9% 0.145 14.5) |
| XYZ | xyz(11.4719, 6.4279, 3.7680) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.03
Cranberry
#9E003A
ΔE00 4.11
Wine Red
#7B0323
ΔE00 4.46
Bordeaux
#7B002C
ΔE00 4.62
Burgundy
#800020
ΔE00 4.79
Wine
#722F37
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B33 #1B8A72
analogous
#8A1B6B #8A1B33 #8A3A1B
triadic
#8A1B33 #338A1B #1B338A
tetradic
#8A1B33 #6B8A1B #1B8A72 #3A1B8A
square
#8A1B33 #6B8A1B #1B8A72 #3A1B8A
split-complementary
#8A1B33 #1B8A3A #1B6B8A
monochromatic
#24070D #571120 #8A1B33 #BD2546 #DB4565
Accessibility & contrast
On white
9.19
#8A1B33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1B33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B33
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B33 | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3933
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b33; /* rgb */ color: rgb(138, 27, 51); /* oklch */ color: oklch(41.9% 0.145 14.5);
Tailwind
colors: {
custom: {
50: '#b3636a',
500: '#8a1b33',
950: '#000000',
},
}SCSS
$custom: #8a1b33; $custom-light: #b3636a; $custom-dark: #000000;
JSON
{
"hex": "#8a1b33",
"rgb": {
"r": 138,
"g": 27,
"b": 51
},
"hsl": {
"h": 347.027,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41897,
"c": 0.14516,
"h": 14.5
},
"luminance": 0.06426
}Semantic roles & 50–950 ramp
primary
#8A1B33
secondary
#45BCA2
accent
#EAC53E
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A