#51242F#51242F
#51242F is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.7% C 0.068 H 6.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #51242F |
|---|---|
| RGB | rgb(81, 36, 47) |
| HSL | hsl(345, 38%, 23%) |
| HSV | hsv(345, 56%, 32%) |
| CMYK | cmyk(0%, 55.6%, 42%, 68.2%) |
| CIE-LAB | lab(20.89, 22.37, 2.73) |
| CIE-LCH | lch(20.89, 22.53, 6.96°) |
| OKLab | oklab(32.68% 0.068 0.0073) |
| OKLCH | oklch(32.68% 0.068 6.1) |
| XYZ | xyz(4.5375, 3.2168, 3.0707) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purple Brown
#673A3F
ΔE00 7.13
Wine
#722F37
ΔE00 8.12
Burgundy (survey)
#610023
ΔE00 8.28
Maroon (survey)
#650021
ΔE00 8.98
Purplish Brown
#6B4247
ΔE00 9.33
Dark Maroon
#3C0008
ΔE00 9.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51242F #245146
analogous
#512445 #51242F #512F24
triadic
#51242F #2F5124 #242F51
tetradic
#51242F #455124 #245146 #2F2451
square
#51242F #455124 #245146 #2F2451
split-complementary
#51242F #24512F #244551
monochromatic
#15090C #271116 #51242F #7B3748 #A64A60
Accessibility & contrast
On white
12.78
#51242F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#51242F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51242F
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51242F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51242F | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2D2F
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#582028
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #51242f; /* rgb */ color: rgb(81, 36, 47); /* oklch */ color: oklch(32.7% 0.068 6.1);
Tailwind
colors: {
custom: {
50: '#846067',
500: '#51242f',
950: '#000000',
},
}SCSS
$custom: #51242f; $custom-light: #846067; $custom-dark: #000000;
JSON
{
"hex": "#51242f",
"rgb": {
"r": 81,
"g": 36,
"b": 47
},
"hsl": {
"h": 345.333,
"s": 38.462,
"l": 22.941
},
"oklch": {
"l": 0.32676,
"c": 0.06835,
"h": 6.1
},
"luminance": 0.03216
}Semantic roles & 50–950 ramp
primary
#51242F
secondary
#4C8577
accent
#CEB259
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A