#8A2038#8A2038
#8A2038 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.141 H 12.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2038 |
|---|---|
| RGB | rgb(138, 32, 56) |
| HSL | hsl(346, 62%, 33%) |
| HSV | hsv(346, 77%, 54%) |
| CMYK | cmyk(0%, 76.8%, 59.4%, 45.9%) |
| CIE-LAB | lab(31.17, 45.50, 12.58) |
| CIE-LCH | lch(31.17, 47.21, 15.46°) |
| OKLab | oklab(42.45% 0.1372 0.0313) |
| OKLCH | oklch(42.45% 0.141 12.8) |
| XYZ | xyz(11.7127, 6.7235, 4.4216) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.01
Cranberry
#9E003A
ΔE00 4.01
Bordeaux
#7B002C
ΔE00 4.85
Wine Red
#7B0323
ΔE00 5.49
Wine
#722F37
ΔE00 5.84
Purple Red
#990147
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2038 #208A72
analogous
#8A206D #8A2038 #8A3D20
triadic
#8A2038 #388A20 #20388A
tetradic
#8A2038 #6D8A20 #208A72 #3D208A
square
#8A2038 #6D8A20 #208A72 #3D208A
split-complementary
#8A2038 #208A3D #206D8A
monochromatic
#270910 #581424 #8A2038 #BC2C4C #D64E6D
Accessibility & contrast
On white
8.96
#8A2038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A2038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2038
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2038 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3B38
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a2038; /* rgb */ color: rgb(138, 32, 56); /* oklch */ color: oklch(42.5% 0.141 12.8);
Tailwind
colors: {
custom: {
50: '#b2656e',
500: '#8a2038',
950: '#000000',
},
}SCSS
$custom: #8a2038; $custom-light: #b2656e; $custom-dark: #000000;
JSON
{
"hex": "#8a2038",
"rgb": {
"r": 138,
"g": 32,
"b": 56
},
"hsl": {
"h": 346.415,
"s": 62.353,
"l": 33.333
},
"oklch": {
"l": 0.42452,
"c": 0.14076,
"h": 12.8
},
"luminance": 0.06722
}Semantic roles & 50–950 ramp
primary
#8A2038
secondary
#4DB9A1
accent
#E5C142
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A