#512D13#512D13

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

Color values

HEX#512D13
RGBrgb(81, 45, 19)
HSLhsl(25, 62%, 20%)
HSVhsv(25, 77%, 32%)
CMYKcmyk(0%, 44.4%, 76.5%, 68.2%)
CIE-LABlab(22.56, 13.99, 23.37)
CIE-LCHlch(22.56, 27.24, 59.10°)
OKLaboklab(33.76% 0.0383 0.053)
OKLCHoklch(33.76% 0.065 54.1)
XYZxyz(4.4496, 3.6736, 1.0907)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D13 #133751
analogous
#511318 #512D13 #514C13
triadic
#512D13 #13512D #2D1351
tetradic
#512D13 #185113 #133751 #4C1351
square
#512D13 #185113 #133751 #4C1351
split-complementary
#512D13 #13514C #131851
monochromatic
#190E06 #1F1107 #512D13 #83491F #B4642A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512D13#FFFFFF#000000##FFFFFF
##512D131.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)
#373110
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d13;
/* rgb */ color: rgb(81, 45, 19);
/* oklch */ color: oklch(33.8% 0.065 54.1);
Tailwind
colors: {
  custom: {
    50: '#866652',
    500: '#512d13',
    950: '#000000',
  },
}
SCSS
$custom: #512d13;
$custom-light: #866652;
$custom-dark: #000000;
JSON
{
  "hex": "#512d13",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 19
  },
  "hsl": {
    "h": 25.161,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.06542,
    "h": 54.1
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#512D13
secondary
#36678A
accent
#A1E543
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D13

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

Preview Lab → · Contrast checker → · Palette generator →

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