#512C19#512C19

#512C19 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.063 H 47.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#512C19
RGBrgb(81, 44, 25)
HSLhsl(20, 53%, 21%)
HSVhsv(20, 69%, 32%)
CMYKcmyk(0%, 45.7%, 69.1%, 68.2%)
CIE-LABlab(22.38, 15.05, 19.50)
CIE-LCHlch(22.38, 24.64, 52.33°)
OKLaboklab(33.65% 0.0427 0.0457)
OKLCHoklch(33.65% 0.063 47)
XYZxyz(4.4698, 3.6213, 1.3831)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C19 #193E51
analogous
#511922 #512C19 #514819
triadic
#512C19 #19512C #2C1951
tetradic
#512C19 #225119 #193E51 #481951
square
#512C19 #225119 #193E51 #481951
split-complementary
#512C19 #195148 #192251
monochromatic
#170D07 #22130B #512C19 #804527 #AF5F36

Accessibility & contrast

On white

12.18
#512C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512C19
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C19#FFFFFF#000000##FFFFFF
##512C191.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363117
Deuteranopia (green-blind)
#3F3919
Tritanopia (blue-blind)
#592528
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c19;
/* rgb */ color: rgb(81, 44, 25);
/* oklch */ color: oklch(33.6% 0.063 47.0);
Tailwind
colors: {
  custom: {
    50: '#856556',
    500: '#512c19',
    950: '#000000',
  },
}
SCSS
$custom: #512c19;
$custom-light: #856556;
$custom-dark: #000000;
JSON
{
  "hex": "#512c19",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 25
  },
  "hsl": {
    "h": 20.357,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33646,
    "c": 0.06252,
    "h": 47
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#512C19
secondary
#3E6F87
accent
#ABDC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0503
muted
#7C7A78

Preview Lab

Preview with #512C19

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

Preview Lab → · Contrast checker → · Palette generator →

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