#51120F#51120F
#51120F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.094 H 27.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).
Color values
| HEX | #51120F |
|---|---|
| RGB | rgb(81, 18, 15) |
| HSL | hsl(3, 69%, 19%) |
| HSV | hsv(3, 81%, 32%) |
| CMYK | cmyk(0%, 77.8%, 81.5%, 68.2%) |
| CIE-LAB | lab(16.59, 28.94, 18.80) |
| CIE-LCH | lch(16.59, 34.51, 33.01°) |
| OKLab | oklab(29.21% 0.0835 0.0432) |
| OKLCH | oklch(29.21% 0.094 27.4) |
| XYZ | xyz(3.6963, 2.2170, 0.6851) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.03
Mahogany
#4A0100
ΔE00 3.09
Deep Brown
#410200
ΔE00 4.40
Rosewood
#65000B
ΔE00 5.07
Claret
#680018
ΔE00 6.42
Dark Maroon
#3C0008
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51120F #0F4E51
analogous
#510F2D #51120F #51330F
triadic
#51120F #0F5112 #120F51
tetradic
#51120F #2D510F #0F4E51 #330F51
square
#51120F #2D510F #0F4E51 #330F51
split-complementary
#51120F #0F5133 #0F2D51
monochromatic
#1A0605 #1D0705 #51120F #851D19 #B82922
Accessibility & contrast
On white
14.55
#51120F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#51120F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51120F
14.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51120F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51120F | 1.00 | 14.55 | 1.44 | 14.55 |
| #FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#5A0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #51120f; /* rgb */ color: rgb(81, 18, 15); /* oklch */ color: oklch(29.2% 0.094 27.4);
Tailwind
colors: {
custom: {
50: '#88554e',
500: '#51120f',
950: '#000000',
},
}SCSS
$custom: #51120f; $custom-light: #88554e; $custom-dark: #000000;
JSON
{
"hex": "#51120f",
"rgb": {
"r": 81,
"g": 18,
"b": 15
},
"hsl": {
"h": 2.727,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.29205,
"c": 0.09396,
"h": 27.4
},
"luminance": 0.02216
}Semantic roles & 50–950 ramp
primary
#51120F
secondary
#31878B
accent
#E4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877