#512D0F#512D0F
#512D0F is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.7% C 0.068 H 57.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #512D0F |
|---|---|
| RGB | rgb(81, 45, 15) |
| HSL | hsl(27, 69%, 19%) |
| HSV | hsv(27, 81%, 32%) |
| CMYK | cmyk(0%, 44.4%, 81.5%, 68.2%) |
| CIE-LAB | lab(22.52, 13.76, 25.58) |
| CIE-LCH | lch(22.52, 29.05, 61.73°) |
| OKLab | oklab(33.71% 0.0369 0.0568) |
| OKLCH | oklch(33.71% 0.068 57) |
| XYZ | xyz(4.4183, 3.6611, 0.9258) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Chocolate (survey)
#3D1C02
ΔE00 6.07
Brown (survey)
#653700
ΔE00 6.77
Chocolate Brown
#411900
ΔE00 7.02
Dark Brown
#341C02
ΔE00 7.59
Espresso
#4B382A
ΔE00 8.43
Chestnut
#742802
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512D0F #0F3351
analogous
#510F12 #512D0F #514E0F
triadic
#512D0F #0F512D #2D0F51
tetradic
#512D0F #12510F #0F3351 #4E0F51
square
#512D0F #12510F #0F3351 #4E0F51
split-complementary
#512D0F #0F514E #0F1251
monochromatic
#1A0E05 #1D1005 #512D0F #854A19 #B86622
Accessibility & contrast
On white
12.12
#512D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#512D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512D0F
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512D0F | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#40390F
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #512d0f; /* rgb */ color: rgb(81, 45, 15); /* oklch */ color: oklch(33.7% 0.068 57.0);
Tailwind
colors: {
custom: {
50: '#86664f',
500: '#512d0f',
950: '#000000',
},
}SCSS
$custom: #512d0f; $custom-light: #86664f; $custom-dark: #000000;
JSON
{
"hex": "#512d0f",
"rgb": {
"r": 81,
"g": 45,
"b": 15
},
"hsl": {
"h": 27.273,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.33714,
"c": 0.06775,
"h": 57
},
"luminance": 0.03661
}Semantic roles & 50–950 ramp
primary
#512D0F
secondary
#31628B
accent
#9CEC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78