#8E1833#8E1833
#8E1833 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.152 H 14.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1833 |
|---|---|
| RGB | rgb(142, 24, 51) |
| HSL | hsl(346, 71%, 33%) |
| HSV | hsv(346, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 64.1%, 44.3%) |
| CIE-LAB | lab(30.98, 48.88, 15.78) |
| CIE-LCH | lch(30.98, 51.36, 17.89°) |
| OKLab | oklab(42.43% 0.1466 0.0383) |
| OKLCH | oklch(42.43% 0.152 14.6) |
| XYZ | xyz(12.0808, 6.6449, 3.7778) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.02
Cranberry
#9E003A
ΔE00 3.49
Wine Red
#7B0323
ΔE00 4.80
Burgundy
#800020
ΔE00 4.93
Bordeaux
#7B002C
ΔE00 5.06
Rouge
#AB1239
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1833 #188E73
analogous
#8E186E #8E1833 #8E3818
triadic
#8E1833 #338E18 #18338E
tetradic
#8E1833 #6E8E18 #188E73 #38188E
square
#8E1833 #6E8E18 #188E73 #38188E
split-complementary
#8E1833 #188E38 #186E8E
monochromatic
#25060D #5A0F20 #8E1833 #C22146 #DF4165
Accessibility & contrast
On white
9.02
#8E1833 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1833 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1833
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1833 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1833 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3933
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1833; /* rgb */ color: rgb(142, 24, 51); /* oklch */ color: oklch(42.4% 0.152 14.6);
Tailwind
colors: {
custom: {
50: '#b6636a',
500: '#8e1833',
950: '#000000',
},
}SCSS
$custom: #8e1833; $custom-light: #b6636a; $custom-dark: #000000;
JSON
{
"hex": "#8e1833",
"rgb": {
"r": 142,
"g": 24,
"b": 51
},
"hsl": {
"h": 346.271,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42426,
"c": 0.15153,
"h": 14.6
},
"luminance": 0.06643
}Semantic roles & 50–950 ramp
primary
#8E1833
secondary
#42C0A3
accent
#EEC53A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A