#512018#512018
#512018 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.076 H 31.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #512018 |
|---|---|
| RGB | rgb(81, 32, 24) |
| HSL | hsl(8, 54%, 21%) |
| HSV | hsv(8, 70%, 32%) |
| CMYK | cmyk(0%, 60.5%, 70.4%, 68.2%) |
| CIE-LAB | lab(19.43, 22.29, 16.58) |
| CIE-LCH | lch(19.43, 27.78, 36.64°) |
| OKLab | oklab(31.39% 0.0647 0.0391) |
| OKLCH | oklch(31.39% 0.076 31.2) |
| XYZ | xyz(4.0751, 2.8488, 1.1993) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 6.46
Dried Blood
#4B0101
ΔE00 6.58
Mahogany
#4A0100
ΔE00 6.59
Deep Brown
#410200
ΔE00 7.10
Rosewood
#65000B
ΔE00 7.83
Chocolate (survey)
#3D1C02
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512018 #184951
analogous
#51182C #512018 #513C18
triadic
#512018 #185120 #201851
tetradic
#512018 #2C5118 #184951 #3C1851
square
#512018 #2C5118 #184951 #3C1851
split-complementary
#512018 #18513C #182C51
monochromatic
#180907 #220D0A #512018 #803326 #AF4534
Accessibility & contrast
On white
13.38
#512018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#512018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512018
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512018 | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2817
Deuteranopia (green-blind)
#393317
Tritanopia (blue-blind)
#59171E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #512018; /* rgb */ color: rgb(81, 32, 24); /* oklch */ color: oklch(31.4% 0.076 31.2);
Tailwind
colors: {
custom: {
50: '#865d55',
500: '#512018',
950: '#000000',
},
}SCSS
$custom: #512018; $custom-light: #865d55; $custom-dark: #000000;
JSON
{
"hex": "#512018",
"rgb": {
"r": 81,
"g": 32,
"b": 24
},
"hsl": {
"h": 8.421,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.31389,
"c": 0.07562,
"h": 31.2
},
"luminance": 0.02848
}Semantic roles & 50–950 ramp
primary
#512018
secondary
#3D7D88
accent
#C9DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0403
muted
#7D7978