#51151E#51151E
#51151E is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.089 H 15.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #51151E |
|---|---|
| RGB | rgb(81, 21, 30) |
| HSL | hsl(351, 59%, 20%) |
| HSV | hsv(351, 74%, 32%) |
| CMYK | cmyk(0%, 74.1%, 63%, 68.2%) |
| CIE-LAB | lab(17.37, 28.58, 9.77) |
| CIE-LCH | lch(17.37, 30.20, 18.88°) |
| OKLab | oklab(29.88% 0.0858 0.0242) |
| OKLCH | oklch(29.88% 0.089 15.7) |
| XYZ | xyz(3.8962, 2.3799, 1.4822) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.34
Maroon (survey)
#650021
ΔE00 5.41
Dark Maroon
#3C0008
ΔE00 5.55
Deep Brown
#410200
ΔE00 6.17
Claret
#680018
ΔE00 6.46
Dried Blood
#4B0101
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51151E #155148
analogous
#51153C #51151E #512A15
triadic
#51151E #1E5115 #151E51
tetradic
#51151E #3C5115 #155148 #2A1551
square
#51151E #3C5115 #155148 #2A1551
split-complementary
#51151E #15512A #153C51
monochromatic
#180609 #20080C #51151E #822230 #B22E42
Accessibility & contrast
On white
14.23
#51151E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#51151E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51151E
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51151E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51151E | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#590819
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #51151e; /* rgb */ color: rgb(81, 21, 30); /* oklch */ color: oklch(29.9% 0.089 15.7);
Tailwind
colors: {
custom: {
50: '#865759',
500: '#51151e',
950: '#000000',
},
}SCSS
$custom: #51151e; $custom-light: #865759; $custom-dark: #000000;
JSON
{
"hex": "#51151e",
"rgb": {
"r": 81,
"g": 21,
"b": 30
},
"hsl": {
"h": 351,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.29878,
"c": 0.08909,
"h": 15.7
},
"luminance": 0.02379
}Semantic roles & 50–950 ramp
primary
#51151E
secondary
#39897D
accent
#E2CB46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878