#842A2F#842A2F
#842A2F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.123 H 21.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #842A2F |
|---|---|
| RGB | rgb(132, 42, 47) |
| HSL | hsl(357, 52%, 34%) |
| HSV | hsv(357, 68%, 52%) |
| CMYK | cmyk(0%, 68.2%, 64.4%, 48.2%) |
| CIE-LAB | lab(31.27, 38.84, 18.38) |
| CIE-LCH | lch(31.27, 42.97, 25.32°) |
| OKLab | oklab(42.26% 0.115 0.0442) |
| OKLCH | oklch(42.26% 0.123 21) |
| XYZ | xyz(10.8578, 6.7682, 3.4234) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.35
Wine
#722F37
ΔE00 5.48
Wine Red
#7B0323
ΔE00 5.81
Red Wine
#8C0034
ΔE00 7.24
Brown
#A52A2A
ΔE00 7.70
Bordeaux
#7B002C
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842A2F #2A847F
analogous
#842A5C #842A2F #84522A
triadic
#842A2F #2F842A #2A2F84
tetradic
#842A2F #5C842A #2A847F #522A84
square
#842A2F #5C842A #2A847F #522A84
split-complementary
#842A2F #2A8452 #2A5C84
monochromatic
#270C0E #561B1E #842A2F #B23940 #CB5D63
Accessibility & contrast
On white
8.92
#842A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#842A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842A2F
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842A2F | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E2F
Deuteranopia (green-blind)
#58512D
Tritanopia (blue-blind)
#91152D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #842a2f; /* rgb */ color: rgb(132, 42, 47); /* oklch */ color: oklch(42.3% 0.123 21.0);
Tailwind
colors: {
custom: {
50: '#ae6967',
500: '#842a2f',
950: '#000000',
},
}SCSS
$custom: #842a2f; $custom-light: #ae6967; $custom-dark: #000000;
JSON
{
"hex": "#842a2f",
"rgb": {
"r": 132,
"g": 42,
"b": 47
},
"hsl": {
"h": 356.667,
"s": 51.724,
"l": 34.118
},
"oklch": {
"l": 0.42255,
"c": 0.12324,
"h": 21
},
"luminance": 0.06767
}Semantic roles & 50–950 ramp
primary
#842A2F
secondary
#59B1AC
accent
#DBD34D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A