#8A1833#8A1833
#8A1833 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.148 H 13.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1833 |
|---|---|
| RGB | rgb(138, 24, 51) |
| HSL | hsl(346, 70%, 32%) |
| HSV | hsv(346, 83%, 54%) |
| CMYK | cmyk(0%, 82.6%, 63%, 45.9%) |
| CIE-LAB | lab(30.15, 47.70, 14.52) |
| CIE-LCH | lch(30.15, 49.86, 16.93°) |
| OKLab | oklab(41.66% 0.1434 0.0355) |
| OKLCH | oklch(41.66% 0.148 13.9) |
| XYZ | xyz(11.4066, 6.2973, 3.7462) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.52
Cranberry
#9E003A
ΔE00 3.92
Bordeaux
#7B002C
ΔE00 4.24
Wine Red
#7B0323
ΔE00 4.37
Burgundy
#800020
ΔE00 4.83
Wine
#722F37
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1833 #188A6F
analogous
#8A186C #8A1833 #8A3618
triadic
#8A1833 #338A18 #18338A
tetradic
#8A1833 #6C8A18 #188A6F #36188A
square
#8A1833 #6C8A18 #188A6F #36188A
split-complementary
#8A1833 #188A36 #186C8A
monochromatic
#22060C #560F20 #8A1833 #BE2146 #DE3F64
Accessibility & contrast
On white
9.30
#8A1833 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8A1833 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1833
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1833 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1833 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393833
Deuteranopia (green-blind)
#564F30
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1833; /* rgb */ color: rgb(138, 24, 51); /* oklch */ color: oklch(41.7% 0.148 13.9);
Tailwind
colors: {
custom: {
50: '#b3626a',
500: '#8a1833',
950: '#000000',
},
}SCSS
$custom: #8a1833; $custom-light: #b3626a; $custom-dark: #000000;
JSON
{
"hex": "#8a1833",
"rgb": {
"r": 138,
"g": 24,
"b": 51
},
"hsl": {
"h": 345.789,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.41663,
"c": 0.14772,
"h": 13.9
},
"luminance": 0.06296
}Semantic roles & 50–950 ramp
primary
#8A1833
secondary
#40BDA0
accent
#EDC33B
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A