#842038#842038
#842038 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 11.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #842038 |
|---|---|
| RGB | rgb(132, 32, 56) |
| HSL | hsl(346, 61%, 32%) |
| HSV | hsv(346, 76%, 52%) |
| CMYK | cmyk(0%, 75.8%, 57.6%, 48.2%) |
| CIE-LAB | lab(29.97, 43.61, 10.76) |
| CIE-LCH | lch(29.97, 44.92, 13.86°) |
| OKLab | oklab(41.35% 0.1319 0.027) |
| OKLCH | oklch(41.35% 0.135 11.6) |
| XYZ | xyz(10.7471, 6.2256, 4.3764) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.06
Bordeaux
#7B002C
ΔE00 4.08
Cranberry
#9E003A
ΔE00 5.03
Wine
#722F37
ΔE00 5.11
Wine Red
#7B0323
ΔE00 5.34
Purple Red
#990147
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842038 #20846C
analogous
#84206A #842038 #843A20
triadic
#842038 #388420 #203884
tetradic
#842038 #6A8420 #20846C #3A2084
square
#842038 #6A8420 #20846C #3A2084
split-complementary
#842038 #20843A #206A84
monochromatic
#21080E #531423 #842038 #B52C4D #D34B6C
Accessibility & contrast
On white
9.35
#842038 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#842038 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842038
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842038 | 1.00 | 9.35 | 2.24 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#91042A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #842038; /* rgb */ color: rgb(132, 32, 56); /* oklch */ color: oklch(41.3% 0.135 11.6);
Tailwind
colors: {
custom: {
50: '#ad646e',
500: '#842038',
950: '#000000',
},
}SCSS
$custom: #842038; $custom-light: #ad646e; $custom-dark: #000000;
JSON
{
"hex": "#842038",
"rgb": {
"r": 132,
"g": 32,
"b": 56
},
"hsl": {
"h": 345.6,
"s": 60.976,
"l": 32.157
},
"oklch": {
"l": 0.4135,
"c": 0.13466,
"h": 11.6
},
"luminance": 0.06224
}Semantic roles & 50–950 ramp
primary
#842038
secondary
#4AB69C
accent
#E4BE44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A