#842518#842518
#842518 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.132 H 31.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #842518 |
|---|---|
| RGB | rgb(132, 37, 24) |
| HSL | hsl(7, 69%, 31%) |
| HSV | hsv(7, 82%, 52%) |
| CMYK | cmyk(0%, 72%, 81.8%, 48.2%) |
| CIE-LAB | lab(30.15, 39.80, 31.25) |
| CIE-LCH | lch(30.15, 50.61, 38.14°) |
| OKLab | oklab(41.31% 0.1131 0.0679) |
| OKLCH | oklch(41.31% 0.132 31) |
| XYZ | xyz(10.3434, 6.2962, 1.5346) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.51
Indian Red
#850E04
ΔE00 3.60
Crimson (survey)
#8C000F
ΔE00 4.25
Brick Red
#8F1402
ΔE00 4.34
Dark Red
#840000
ΔE00 4.45
Darkred
#8B0000
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#842518 #187784
analogous
#841841 #842518 #845B18
triadic
#842518 #188425 #251884
tetradic
#842518 #418418 #187784 #5B1884
square
#842518 #418418 #187784 #5B1884
split-complementary
#842518 #18845B #184184
monochromatic
#1C0805 #50160F #842518 #B83421 #DB4E3B
Accessibility & contrast
On white
9.30
#842518 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#842518 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #842518
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##842518 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##842518 | 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)
#413A16
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#920223
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #842518; /* rgb */ color: rgb(132, 37, 24); /* oklch */ color: oklch(41.3% 0.132 31.0);
Tailwind
colors: {
custom: {
50: '#b06656',
500: '#842518',
950: '#000000',
},
}SCSS
$custom: #842518; $custom-light: #b06656; $custom-dark: #000000;
JSON
{
"hex": "#842518",
"rgb": {
"r": 132,
"g": 37,
"b": 24
},
"hsl": {
"h": 7.222,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.41306,
"c": 0.1319,
"h": 31
},
"luminance": 0.06295
}Semantic roles & 50–950 ramp
primary
#842518
secondary
#40A9B8
accent
#D7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78