#8A2338#8A2338
#8A2338 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.138 H 13.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2338 |
|---|---|
| RGB | rgb(138, 35, 56) |
| HSL | hsl(348, 60%, 34%) |
| HSV | hsv(348, 75%, 54%) |
| CMYK | cmyk(0%, 74.6%, 59.4%, 45.9%) |
| CIE-LAB | lab(31.56, 44.41, 13.11) |
| CIE-LCH | lch(31.56, 46.30, 16.45°) |
| OKLab | oklab(42.74% 0.1337 0.0325) |
| OKLCH | oklch(42.74% 0.138 13.7) |
| XYZ | xyz(11.7972, 6.8925, 4.4498) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.60
Cranberry
#9E003A
ΔE00 4.28
Bordeaux
#7B002C
ΔE00 5.30
Wine Red
#7B0323
ΔE00 5.60
Wine
#722F37
ΔE00 5.61
Burgundy
#800020
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2338 #238A75
analogous
#8A236C #8A2338 #8A4223
triadic
#8A2338 #388A23 #23388A
tetradic
#8A2338 #6C8A23 #238A75 #42238A
square
#8A2338 #6C8A23 #238A75 #42238A
split-complementary
#8A2338 #238A42 #236C8A
monochromatic
#280A10 #591724 #8A2338 #BB2F4C #D4546E
Accessibility & contrast
On white
8.83
#8A2338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8A2338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2338
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2338 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#595235
Tritanopia (blue-blind)
#97052C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a2338; /* rgb */ color: rgb(138, 35, 56); /* oklch */ color: oklch(42.7% 0.138 13.7);
Tailwind
colors: {
custom: {
50: '#b2676e',
500: '#8a2338',
950: '#000000',
},
}SCSS
$custom: #8a2338; $custom-light: #b2676e; $custom-dark: #000000;
JSON
{
"hex": "#8a2338",
"rgb": {
"r": 138,
"g": 35,
"b": 56
},
"hsl": {
"h": 347.767,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.42742,
"c": 0.13762,
"h": 13.7
},
"luminance": 0.06891
}Semantic roles & 50–950 ramp
primary
#8A2338
secondary
#51B7A3
accent
#E3C345
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A