#51181B#51181B
#51181B is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.085 H 20.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #51181B |
|---|---|
| RGB | rgb(81, 24, 27) |
| HSL | hsl(357, 54%, 21%) |
| HSV | hsv(357, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 66.7%, 68.2%) |
| CIE-LAB | lab(17.84, 26.87, 12.52) |
| CIE-LCH | lch(17.84, 29.64, 24.98°) |
| OKLab | oklab(30.21% 0.0797 0.0303) |
| OKLCH | oklch(30.21% 0.085 20.8) |
| XYZ | xyz(3.9182, 2.4823, 1.3095) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.33
Deep Brown
#410200
ΔE00 5.38
Mahogany
#4A0100
ΔE00 5.42
Dark Maroon
#3C0008
ΔE00 6.12
Claret
#680018
ΔE00 6.31
Maroon (survey)
#650021
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51181B #18514E
analogous
#511837 #51181B #513118
triadic
#51181B #1B5118 #181B51
tetradic
#51181B #375118 #18514E #311851
square
#51181B #375118 #18514E #311851
split-complementary
#51181B #185131 #183751
monochromatic
#180708 #220A0B #51181B #80262B #AF343A
Accessibility & contrast
On white
14.03
#51181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51181B
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51181B | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241B
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#590C1A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51181b; /* rgb */ color: rgb(81, 24, 27); /* oklch */ color: oklch(30.2% 0.085 20.8);
Tailwind
colors: {
custom: {
50: '#865857',
500: '#51181b',
950: '#000000',
},
}SCSS
$custom: #51181b; $custom-light: #865857; $custom-dark: #000000;
JSON
{
"hex": "#51181b",
"rgb": {
"r": 81,
"g": 24,
"b": 27
},
"hsl": {
"h": 356.842,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30209,
"c": 0.08528,
"h": 20.8
},
"luminance": 0.02482
}Semantic roles & 50–950 ramp
primary
#51181B
secondary
#3D8884
accent
#DED64A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878