#8A1B36#8A1B36
#8A1B36 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 12.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B36 |
|---|---|
| RGB | rgb(138, 27, 54) |
| HSL | hsl(345, 67%, 32%) |
| HSV | hsv(345, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 60.9%, 45.9%) |
| CIE-LAB | lab(30.53, 47.01, 13.04) |
| CIE-LCH | lch(30.53, 48.79, 15.51°) |
| OKLab | oklab(41.97% 0.1418 0.0322) |
| OKLCH | oklch(41.97% 0.145 12.8) |
| XYZ | xyz(11.5402, 6.4552, 4.1276) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.40
Cranberry
#9E003A
ΔE00 3.81
Bordeaux
#7B002C
ΔE00 4.32
Wine Red
#7B0323
ΔE00 4.99
Burgundy
#800020
ΔE00 5.60
Purple Red
#990147
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B36 #1B8A6F
analogous
#8A1B6E #8A1B36 #8A371B
triadic
#8A1B36 #368A1B #1B368A
tetradic
#8A1B36 #6E8A1B #1B8A6F #371B8A
square
#8A1B36 #6E8A1B #1B8A6F #371B8A
split-complementary
#8A1B36 #1B8A37 #1B6E8A
monochromatic
#24070E #571122 #8A1B36 #BD254A #DB4569
Accessibility & contrast
On white
9.17
#8A1B36 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1B36 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B36
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B36 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3936
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b36; /* rgb */ color: rgb(138, 27, 54); /* oklch */ color: oklch(42.0% 0.145 12.8);
Tailwind
colors: {
custom: {
50: '#b3636c',
500: '#8a1b36',
950: '#000000',
},
}SCSS
$custom: #8a1b36; $custom-light: #b3636c; $custom-dark: #000000;
JSON
{
"hex": "#8a1b36",
"rgb": {
"r": 138,
"g": 27,
"b": 54
},
"hsl": {
"h": 345.405,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41967,
"c": 0.14538,
"h": 12.8
},
"luminance": 0.06453
}Semantic roles & 50–950 ramp
primary
#8A1B36
secondary
#45BC9F
accent
#EAC03E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A