#51181A#51181A
#51181A is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.085 H 21.8°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #51181A |
|---|---|
| RGB | rgb(81, 24, 26) |
| HSL | hsl(358, 54%, 21%) |
| HSV | hsv(358, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 67.9%, 68.2%) |
| CIE-LAB | lab(17.82, 26.79, 13.19) |
| CIE-LCH | lch(17.82, 29.86, 26.22°) |
| OKLab | oklab(30.19% 0.0793 0.0317) |
| OKLCH | oklch(30.19% 0.085 21.8) |
| XYZ | xyz(3.9068, 2.4777, 1.2496) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.05
Mahogany
#4A0100
ΔE00 5.14
Deep Brown
#410200
ΔE00 5.22
Dark Maroon
#3C0008
ΔE00 6.26
Claret
#680018
ΔE00 6.29
Maroon (survey)
#650021
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51181A #18514F
analogous
#511836 #51181A #513218
triadic
#51181A #1A5118 #181A51
tetradic
#51181A #365118 #18514F #321851
square
#51181A #365118 #18514F #321851
split-complementary
#51181A #185132 #183651
monochromatic
#180708 #220A0B #51181A #802629 #AF3438
Accessibility & contrast
On white
14.04
#51181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51181A
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51181A | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#353019
Tritanopia (blue-blind)
#590C19
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51181a; /* rgb */ color: rgb(81, 24, 26); /* oklch */ color: oklch(30.2% 0.085 21.8);
Tailwind
colors: {
custom: {
50: '#865856',
500: '#51181a',
950: '#000000',
},
}SCSS
$custom: #51181a; $custom-light: #865856; $custom-dark: #000000;
JSON
{
"hex": "#51181a",
"rgb": {
"r": 81,
"g": 24,
"b": 26
},
"hsl": {
"h": 357.895,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30187,
"c": 0.08538,
"h": 21.8
},
"luminance": 0.02477
}Semantic roles & 50–950 ramp
primary
#51181A
secondary
#3D8885
accent
#DED84A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878