#8A223C#8A223C
#8A223C is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.139 H 10.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A223C |
|---|---|
| RGB | rgb(138, 34, 60) |
| HSL | hsl(345, 60%, 34%) |
| HSV | hsv(345, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 56.5%, 45.9%) |
| CIE-LAB | lab(31.52, 45.09, 10.43) |
| CIE-LCH | lch(31.52, 46.28, 13.02°) |
| OKLab | oklab(42.74% 0.1366 0.0263) |
| OKLCH | oklch(42.74% 0.139 10.9) |
| XYZ | xyz(11.8700, 6.8752, 4.9761) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.19
Cranberry
#9E003A
ΔE00 4.17
Bordeaux
#7B002C
ΔE00 5.11
Purple Red
#990147
ΔE00 5.19
Berry
#990F4B
ΔE00 5.47
Wine
#722F37
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A223C #228A70
analogous
#8A2270 #8A223C #8A3C22
triadic
#8A223C #3C8A22 #223C8A
tetradic
#8A223C #708A22 #228A70 #3C228A
square
#8A223C #708A22 #228A70 #3C228A
split-complementary
#8A223C #228A3C #22708A
monochromatic
#280A11 #591627 #8A223C #BB2E51 #D45273
Accessibility & contrast
On white
8.84
#8A223C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A223C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A223C
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A223C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A223C | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3D3C
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#97052D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a223c; /* rgb */ color: rgb(138, 34, 60); /* oklch */ color: oklch(42.7% 0.139 10.9);
Tailwind
colors: {
custom: {
50: '#b26671',
500: '#8a223c',
950: '#000000',
},
}SCSS
$custom: #8a223c; $custom-light: #b26671; $custom-dark: #000000;
JSON
{
"hex": "#8a223c",
"rgb": {
"r": 138,
"g": 34,
"b": 60
},
"hsl": {
"h": 345,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.42743,
"c": 0.13909,
"h": 10.9
},
"luminance": 0.06874
}Semantic roles & 50–950 ramp
primary
#8A223C
secondary
#50B89E
accent
#E4BC44
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A