#512A0F#512A0F
#512A0F is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.1% C 0.070 H 52.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #512A0F |
|---|---|
| RGB | rgb(81, 42, 15) |
| HSL | hsl(25, 69%, 19%) |
| HSV | hsv(25, 81%, 32%) |
| CMYK | cmyk(0%, 48.1%, 81.5%, 68.2%) |
| CIE-LAB | lab(21.73, 15.65, 24.74) |
| CIE-LCH | lch(21.73, 29.28, 57.68°) |
| OKLab | oklab(33.11% 0.0426 0.0551) |
| OKLCH | oklch(33.11% 0.07 52.3) |
| XYZ | xyz(4.3079, 3.4402, 0.8890) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Chocolate (survey)
#3D1C02
ΔE00 5.23
Chocolate Brown
#411900
ΔE00 5.62
Dark Brown
#341C02
ΔE00 7.56
Brown (survey)
#653700
ΔE00 7.84
Espresso
#4B382A
ΔE00 9.00
Chestnut
#742802
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512A0F #0F3651
analogous
#510F15 #512A0F #514B0F
triadic
#512A0F #0F512A #2A0F51
tetradic
#512A0F #15510F #0F3651 #4B0F51
square
#512A0F #15510F #0F3651 #4B0F51
split-complementary
#512A0F #0F514B #0F1551
monochromatic
#1A0D05 #1D0F05 #512A0F #854519 #B86022
Accessibility & contrast
On white
12.44
#512A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#512A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512A0F
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512A0F | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#352F0C
Deuteranopia (green-blind)
#3F370F
Tritanopia (blue-blind)
#592224
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #512a0f; /* rgb */ color: rgb(81, 42, 15); /* oklch */ color: oklch(33.1% 0.070 52.3);
Tailwind
colors: {
custom: {
50: '#86644f',
500: '#512a0f',
950: '#000000',
},
}SCSS
$custom: #512a0f; $custom-light: #86644f; $custom-dark: #000000;
JSON
{
"hex": "#512a0f",
"rgb": {
"r": 81,
"g": 42,
"b": 15
},
"hsl": {
"h": 24.545,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.33105,
"c": 0.06962,
"h": 52.3
},
"luminance": 0.0344
}Semantic roles & 50–950 ramp
primary
#512A0F
secondary
#31668B
accent
#A4EC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978