#51111C#51111C
#51111C is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.094 H 15.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #51111C |
|---|---|
| RGB | rgb(81, 17, 28) |
| HSL | hsl(350, 65%, 19%) |
| HSV | hsv(350, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 65.4%, 68.2%) |
| CIE-LAB | lab(16.67, 30.19, 10.28) |
| CIE-LCH | lch(16.67, 31.90, 18.80°) |
| OKLab | oklab(29.35% 0.0905 0.0252) |
| OKLCH | oklch(29.35% 0.094 15.6) |
| XYZ | xyz(3.8038, 2.2346, 1.3294) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.88
Maroon (survey)
#650021
ΔE00 4.93
Dark Maroon
#3C0008
ΔE00 5.10
Deep Brown
#410200
ΔE00 5.81
Claret
#680018
ΔE00 6.03
Dried Blood
#4B0101
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51111C #115146
analogous
#51113C #51111C #512611
triadic
#51111C #1C5111 #111C51
tetradic
#51111C #3C5111 #115146 #261151
square
#51111C #3C5111 #115146 #261151
split-complementary
#51111C #115126 #113C51
monochromatic
#190509 #1E060B #51111C #841C2D #B6263F
Accessibility & contrast
On white
14.51
#51111C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#51111C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51111C
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51111C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51111C | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#322E1A
Tritanopia (blue-blind)
#590216
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #51111c; /* rgb */ color: rgb(81, 17, 28); /* oklch */ color: oklch(29.3% 0.094 15.6);
Tailwind
colors: {
custom: {
50: '#875557',
500: '#51111c',
950: '#000000',
},
}SCSS
$custom: #51111c; $custom-light: #875557; $custom-dark: #000000;
JSON
{
"hex": "#51111c",
"rgb": {
"r": 81,
"g": 17,
"b": 28
},
"hsl": {
"h": 349.688,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29347,
"c": 0.09396,
"h": 15.6
},
"luminance": 0.02234
}Semantic roles & 50–950 ramp
primary
#51111C
secondary
#348A7B
accent
#E8CB40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878