#51242E#51242E
#51242E is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.6% C 0.068 H 7.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #51242E |
|---|---|
| RGB | rgb(81, 36, 46) |
| HSL | hsl(347, 38%, 23%) |
| HSV | hsv(347, 56%, 32%) |
| CMYK | cmyk(0%, 55.6%, 43.2%, 68.2%) |
| CIE-LAB | lab(20.86, 22.23, 3.38) |
| CIE-LCH | lch(20.86, 22.49, 8.64°) |
| OKLab | oklab(32.64% 0.0675 0.009) |
| OKLCH | oklch(32.64% 0.068 7.6) |
| XYZ | xyz(4.5176, 3.2088, 2.9657) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purple Brown
#673A3F
ΔE00 7.03
Wine
#722F37
ΔE00 7.96
Burgundy (survey)
#610023
ΔE00 8.21
Maroon (survey)
#650021
ΔE00 8.83
Purplish Brown
#6B4247
ΔE00 9.27
Dark Maroon
#3C0008
ΔE00 9.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51242E #245147
analogous
#512444 #51242E #513024
triadic
#51242E #2E5124 #242E51
tetradic
#51242E #445124 #245147 #302451
square
#51242E #445124 #245147 #302451
split-complementary
#51242E #245130 #244451
monochromatic
#15090C #271116 #51242E #7B3746 #A64A5E
Accessibility & contrast
On white
12.79
#51242E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#51242E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51242E
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51242E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51242E | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#581F28
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #51242e; /* rgb */ color: rgb(81, 36, 46); /* oklch */ color: oklch(32.6% 0.068 7.6);
Tailwind
colors: {
custom: {
50: '#846066',
500: '#51242e',
950: '#000000',
},
}SCSS
$custom: #51242e; $custom-light: #846066; $custom-dark: #000000;
JSON
{
"hex": "#51242e",
"rgb": {
"r": 81,
"g": 36,
"b": 46
},
"hsl": {
"h": 346.667,
"s": 38.462,
"l": 22.941
},
"oklch": {
"l": 0.32643,
"c": 0.06811,
"h": 7.6
},
"luminance": 0.03208
}Semantic roles & 50–950 ramp
primary
#51242E
secondary
#4C8578
accent
#CEB459
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A