#512D12#512D12

#512D12 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.7% C 0.066 H 54.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#512D12
RGBrgb(81, 45, 18)
HSLhsl(26, 64%, 19%)
HSVhsv(26, 78%, 32%)
CMYKcmyk(0%, 44.4%, 77.8%, 68.2%)
CIE-LABlab(22.55, 13.93, 23.94)
CIE-LCHlch(22.55, 27.70, 59.81°)
OKLaboklab(33.75% 0.038 0.054)
OKLCHoklch(33.75% 0.066 54.9)
XYZxyz(4.4413, 3.6702, 1.0467)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D12 #123651
analogous
#511217 #512D12 #514D12
triadic
#512D12 #12512D #2D1251
tetradic
#512D12 #175112 #123651 #4D1251
square
#512D12 #175112 #123651 #4D1251
split-complementary
#512D12 #12514D #121751
monochromatic
#190E06 #1F1107 #512D12 #83491D #B56528

Accessibility & contrast

On white

12.11
#512D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#512D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D12
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D12#FFFFFF#000000##FFFFFF
##512D121.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310F
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d12;
/* rgb */ color: rgb(81, 45, 18);
/* oklch */ color: oklch(33.7% 0.066 54.9);
Tailwind
colors: {
  custom: {
    50: '#866651',
    500: '#512d12',
    950: '#000000',
  },
}
SCSS
$custom: #512d12;
$custom-light: #866651;
$custom-dark: #000000;
JSON
{
  "hex": "#512d12",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 25.714,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33749,
    "c": 0.06602,
    "h": 54.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#512D12
secondary
#35658A
accent
#A0E741
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D12

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#512D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva