#842A18#842A18
#842A18 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.127 H 33.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #842A18 |
|---|---|
| RGB | rgb(132, 42, 24) |
| HSL | hsl(10, 69%, 31%) |
| HSV | hsv(10, 82%, 52%) |
| CMYK | cmyk(0%, 68.2%, 81.8%, 48.2%) |
| CIE-LAB | lab(30.95, 37.63, 32.06) |
| CIE-LCH | lch(30.95, 49.43, 40.43°) |
| OKLab | oklab(41.91% 0.1064 0.0696) |
| OKLCH | oklch(41.91% 0.127 33.2) |
| XYZ | xyz(10.5097, 6.6290, 1.5901) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.25
Reddish Brown
#7F2B0A
ΔE00 4.06
Indian Red
#850E04
ΔE00 4.20
Brick Red
#8F1402
ΔE00 4.30
Darkred
#8B0000
ΔE00 5.10
Dark Red
#840000
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842A18 #187284
analogous
#84183C #842A18 #846018
triadic
#842A18 #18842A #2A1884
tetradic
#842A18 #3C8418 #187284 #601884
square
#842A18 #3C8418 #187284 #601884
split-complementary
#842A18 #188460 #183C84
monochromatic
#1C0905 #501A0F #842A18 #B83A21 #DB563B
Accessibility & contrast
On white
9.03
#842A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#842A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842A18
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842A18 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#920F27
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #842a18; /* rgb */ color: rgb(132, 42, 24); /* oklch */ color: oklch(41.9% 0.127 33.2);
Tailwind
colors: {
custom: {
50: '#af6956',
500: '#842a18',
950: '#000000',
},
}SCSS
$custom: #842a18; $custom-light: #af6956; $custom-dark: #000000;
JSON
{
"hex": "#842a18",
"rgb": {
"r": 132,
"g": 42,
"b": 24
},
"hsl": {
"h": 10,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.41905,
"c": 0.12711,
"h": 33.2
},
"luminance": 0.06627
}Semantic roles & 50–950 ramp
primary
#842A18
secondary
#40A4B8
accent
#CFEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78