#8A2828#8A2828
#8A2828 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.0% C 0.133 H 24.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2828 |
|---|---|
| RGB | rgb(138, 40, 40) |
| HSL | hsl(0, 55%, 35%) |
| HSV | hsv(0, 71%, 54%) |
| CMYK | cmyk(0%, 71%, 71%, 45.9%) |
| CIE-LAB | lab(31.98, 41.38, 23.97) |
| CIE-LCH | lch(31.98, 47.82, 30.08°) |
| OKLab | oklab(42.96% 0.1208 0.0555) |
| OKLCH | oklch(42.96% 0.133 24.7) |
| XYZ | xyz(11.6243, 7.0758, 2.7607) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 5.56
Brown
#A52A2A
ΔE00 5.57
Crimson (survey)
#8C000F
ΔE00 5.61
Burgundy
#800020
ΔE00 6.09
Wine Red
#7B0323
ΔE00 7.25
Red Brown
#8B2E16
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2828 #288A8A
analogous
#8A2859 #8A2828 #8A5928
triadic
#8A2828 #288A28 #28288A
tetradic
#8A2828 #598A28 #288A8A #59288A
square
#8A2828 #598A28 #288A8A #59288A
split-complementary
#8A2828 #288A59 #28598A
monochromatic
#2B0C0C #5B1A1A #8A2828 #B93636 #D05D5D
Accessibility & contrast
On white
8.70
#8A2828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8A2828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2828
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2828 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433E27
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#980A29
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a2828; /* rgb */ color: rgb(138, 40, 40); /* oklch */ color: oklch(43.0% 0.133 24.7);
Tailwind
colors: {
custom: {
50: '#b36962',
500: '#8a2828',
950: '#000000',
},
}SCSS
$custom: #8a2828; $custom-light: #b36962; $custom-dark: #000000;
JSON
{
"hex": "#8a2828",
"rgb": {
"r": 138,
"g": 40,
"b": 40
},
"hsl": {
"h": 0,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.42956,
"c": 0.13297,
"h": 24.7
},
"luminance": 0.07074
}Semantic roles & 50–950 ramp
primary
#8A2828
secondary
#59B5B5
accent
#DEDE49
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120705
muted
#817A79