#8A2126#8A2126
#8A2126 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 23.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2126 |
|---|---|
| RGB | rgb(138, 33, 38) |
| HSL | hsl(357, 61%, 34%) |
| HSV | hsv(357, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 72.5%, 45.9%) |
| CIE-LAB | lab(30.96, 44.01, 24.00) |
| CIE-LCH | lch(30.96, 50.13, 28.61°) |
| OKLab | oklab(42.18% 0.1287 0.0553) |
| OKLCH | oklch(42.18% 0.14 23.2) |
| XYZ | xyz(11.3762, 6.6327, 2.5146) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.85
Crimson (survey)
#8C000F
ΔE00 5.23
Carmine
#9D0216
ΔE00 5.40
Brown
#A52A2A
ΔE00 6.10
Wine Red
#7B0323
ΔE00 6.12
Indian Red
#850E04
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2126 #218A85
analogous
#8A215A #8A2126 #8A5021
triadic
#8A2126 #268A21 #21268A
tetradic
#8A2126 #5A8A21 #218A85 #50218A
square
#8A2126 #5A8A21 #218A85 #50218A
split-complementary
#8A2126 #218A50 #215A8A
monochromatic
#27090B #591518 #8A2126 #BB2D34 #D55057
Accessibility & contrast
On white
9.03
#8A2126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A2126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2126
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2126 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403A25
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2126; /* rgb */ color: rgb(138, 33, 38); /* oklch */ color: oklch(42.2% 0.140 23.2);
Tailwind
colors: {
custom: {
50: '#b46560',
500: '#8a2126',
950: '#000000',
},
}SCSS
$custom: #8a2126; $custom-light: #b46560; $custom-dark: #000000;
JSON
{
"hex": "#8a2126",
"rgb": {
"r": 138,
"g": 33,
"b": 38
},
"hsl": {
"h": 357.143,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.42183,
"c": 0.14007,
"h": 23.2
},
"luminance": 0.06631
}Semantic roles & 50–950 ramp
primary
#8A2126
secondary
#4EB9B3
accent
#E5DD43
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79