#512C12#512C12

#512C12 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.5% C 0.067 H 53.3°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#512C12
RGBrgb(81, 44, 18)
HSLhsl(25, 64%, 19%)
HSVhsv(25, 78%, 32%)
CMYKcmyk(0%, 45.7%, 77.8%, 68.2%)
CIE-LABlab(22.28, 14.56, 23.65)
CIE-LCHlch(22.28, 27.78, 58.38°)
OKLaboklab(33.54% 0.0399 0.0534)
OKLCHoklch(33.54% 0.067 53.3)
XYZxyz(4.4036, 3.5948, 1.0341)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C12 #123751
analogous
#511218 #512C12 #514C12
triadic
#512C12 #12512C #2C1251
tetradic
#512C12 #185112 #123751 #4C1251
square
#512C12 #185112 #123751 #4C1251
split-complementary
#512C12 #12514C #121851
monochromatic
#190E06 #1F1107 #512C12 #83471D #B56228

Accessibility & contrast

On white

12.22
#512C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#512C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512C12
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C12#FFFFFF#000000##FFFFFF
##512C121.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300F
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#592426
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c12;
/* rgb */ color: rgb(81, 44, 18);
/* oklch */ color: oklch(33.5% 0.067 53.3);
Tailwind
colors: {
  custom: {
    50: '#866551',
    500: '#512c12',
    950: '#000000',
  },
}
SCSS
$custom: #512c12;
$custom-light: #866551;
$custom-dark: #000000;
JSON
{
  "hex": "#512c12",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 24.762,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.06664,
    "h": 53.3
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#512C12
secondary
#35678A
accent
#A2E741
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C12

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

Preview Lab → · Contrast checker → · Palette generator →

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