#8A1B27#8A1B27
#8A1B27 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.145 H 21.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B27 |
|---|---|
| RGB | rgb(138, 27, 39) |
| HSL | hsl(354, 67%, 32%) |
| HSV | hsv(354, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 71.7%, 45.9%) |
| CIE-LAB | lab(30.24, 46.10, 22.51) |
| CIE-LCH | lch(30.24, 51.30, 26.02°) |
| OKLab | oklab(41.66% 0.1356 0.0521) |
| OKLCH | oklch(41.66% 0.145 21) |
| XYZ | xyz(11.2407, 6.3354, 2.5500) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.64
Wine Red
#7B0323
ΔE00 4.84
Crimson (survey)
#8C000F
ΔE00 5.96
Carmine
#9D0216
ΔE00 6.17
Red Wine
#8C0034
ΔE00 6.87
Brown
#A52A2A
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B27 #1B8A7E
analogous
#8A1B5E #8A1B27 #8A471B
triadic
#8A1B27 #278A1B #1B278A
tetradic
#8A1B27 #5E8A1B #1B8A7E #471B8A
square
#8A1B27 #5E8A1B #1B8A7E #471B8A
split-complementary
#8A1B27 #1B8A47 #1B5E8A
monochromatic
#24070A #571119 #8A1B27 #BD2535 #DB4555
Accessibility & contrast
On white
9.26
#8A1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B27
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B27 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3826
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1b27; /* rgb */ color: rgb(138, 27, 39); /* oklch */ color: oklch(41.7% 0.145 21.0);
Tailwind
colors: {
custom: {
50: '#b46361',
500: '#8a1b27',
950: '#000000',
},
}SCSS
$custom: #8a1b27; $custom-light: #b46361; $custom-dark: #000000;
JSON
{
"hex": "#8a1b27",
"rgb": {
"r": 138,
"g": 27,
"b": 39
},
"hsl": {
"h": 353.514,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41659,
"c": 0.14527,
"h": 21
},
"luminance": 0.06334
}Semantic roles & 50–950 ramp
primary
#8A1B27
secondary
#45BCAF
accent
#EAD83E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120605
muted
#817A79