#8A2231#8A2231
#8A2231 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.138 H 17.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2231 |
|---|---|
| RGB | rgb(138, 34, 49) |
| HSL | hsl(351, 60%, 34%) |
| HSV | hsv(351, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 64.5%, 45.9%) |
| CIE-LAB | lab(31.28, 44.29, 17.32) |
| CIE-LCH | lch(31.28, 47.55, 21.36°) |
| OKLab | oklab(42.49% 0.132 0.0418) |
| OKLCH | oklch(42.49% 0.138 17.6) |
| XYZ | xyz(11.6088, 6.7708, 3.6007) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.63
Wine Red
#7B0323
ΔE00 4.88
Red Wine
#8C0034
ΔE00 4.97
Cranberry
#9E003A
ΔE00 5.34
Wine
#722F37
ΔE00 6.08
Bordeaux
#7B002C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2231 #228A7B
analogous
#8A2265 #8A2231 #8A4722
triadic
#8A2231 #318A22 #22318A
tetradic
#8A2231 #658A22 #228A7B #47228A
square
#8A2231 #658A22 #228A7B #47228A
split-complementary
#8A2231 #228A47 #22658A
monochromatic
#280A0E #591620 #8A2231 #BB2E42 #D45265
Accessibility & contrast
On white
8.92
#8A2231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A2231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2231
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2231 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3C31
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2231; /* rgb */ color: rgb(138, 34, 49); /* oklch */ color: oklch(42.5% 0.138 17.6);
Tailwind
colors: {
custom: {
50: '#b36668',
500: '#8a2231',
950: '#000000',
},
}SCSS
$custom: #8a2231; $custom-light: #b36668; $custom-dark: #000000;
JSON
{
"hex": "#8a2231",
"rgb": {
"r": 138,
"g": 34,
"b": 49
},
"hsl": {
"h": 351.346,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.42485,
"c": 0.13847,
"h": 17.6
},
"luminance": 0.06769
}Semantic roles & 50–950 ramp
primary
#8A2231
secondary
#50B8A9
accent
#E4CD44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A