#8A223A#8A223A
#8A223A is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.139 H 12.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A223A |
|---|---|
| RGB | rgb(138, 34, 58) |
| HSL | hsl(346, 60%, 34%) |
| HSV | hsv(346, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 58%, 45.9%) |
| CIE-LAB | lab(31.47, 44.93, 11.68) |
| CIE-LCH | lch(31.47, 46.43, 14.57°) |
| OKLab | oklab(42.69% 0.1358 0.0292) |
| OKLCH | oklch(42.69% 0.139 12.1) |
| XYZ | xyz(11.8181, 6.8545, 4.7029) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.21
Cranberry
#9E003A
ΔE00 4.11
Bordeaux
#7B002C
ΔE00 5.08
Wine
#722F37
ΔE00 5.75
Purple Red
#990147
ΔE00 5.76
Wine Red
#7B0323
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A223A #228A72
analogous
#8A226E #8A223A #8A3E22
triadic
#8A223A #3A8A22 #223A8A
tetradic
#8A223A #6E8A22 #228A72 #3E228A
square
#8A223A #6E8A22 #228A72 #3E228A
split-complementary
#8A223A #228A3E #226E8A
monochromatic
#280A11 #591625 #8A223A #BB2E4F #D45270
Accessibility & contrast
On white
8.86
#8A223A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A223A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A223A
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A223A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A223A | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#97042C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a223a; /* rgb */ color: rgb(138, 34, 58); /* oklch */ color: oklch(42.7% 0.139 12.1);
Tailwind
colors: {
custom: {
50: '#b2666f',
500: '#8a223a',
950: '#000000',
},
}SCSS
$custom: #8a223a; $custom-light: #b2666f; $custom-dark: #000000;
JSON
{
"hex": "#8a223a",
"rgb": {
"r": 138,
"g": 34,
"b": 58
},
"hsl": {
"h": 346.154,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.42692,
"c": 0.13886,
"h": 12.1
},
"luminance": 0.06853
}Semantic roles & 50–950 ramp
primary
#8A223A
secondary
#50B8A0
accent
#E4BF44
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A