#51181C#51181C
#51181C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.085 H 19.8°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #51181C |
|---|---|
| RGB | rgb(81, 24, 28) |
| HSL | hsl(356, 54%, 21%) |
| HSV | hsv(356, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 65.4%, 68.2%) |
| CIE-LAB | lab(17.86, 26.95, 11.84) |
| CIE-LCH | lch(17.86, 29.44, 23.73°) |
| OKLab | oklab(30.23% 0.0802 0.0288) |
| OKLCH | oklch(30.23% 0.085 19.8) |
| XYZ | xyz(3.9299, 2.4870, 1.3715) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.57
Dried Blood
#4B0101
ΔE00 5.63
Mahogany
#4A0100
ΔE00 5.72
Dark Maroon
#3C0008
ΔE00 6.03
Claret
#680018
ΔE00 6.36
Maroon (survey)
#650021
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51181C #18514D
analogous
#511838 #51181C #513018
triadic
#51181C #1C5118 #181C51
tetradic
#51181C #385118 #18514D #301851
square
#51181C #385118 #18514D #301851
split-complementary
#51181C #185130 #183851
monochromatic
#180708 #220A0C #51181C #80262C #AF343D
Accessibility & contrast
On white
14.03
#51181C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51181C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51181C
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51181C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51181C | 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)
#26241C
Deuteranopia (green-blind)
#35301B
Tritanopia (blue-blind)
#590C1A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51181c; /* rgb */ color: rgb(81, 24, 28); /* oklch */ color: oklch(30.2% 0.085 19.8);
Tailwind
colors: {
custom: {
50: '#865857',
500: '#51181c',
950: '#000000',
},
}SCSS
$custom: #51181c; $custom-light: #865857; $custom-dark: #000000;
JSON
{
"hex": "#51181c",
"rgb": {
"r": 81,
"g": 24,
"b": 28
},
"hsl": {
"h": 355.789,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30232,
"c": 0.08521,
"h": 19.8
},
"luminance": 0.02486
}Semantic roles & 50–950 ramp
primary
#51181C
secondary
#3D8883
accent
#DED34A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878