#512C13#512C13

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

Color values

HEX#512C13
RGBrgb(81, 44, 19)
HSLhsl(24, 62%, 20%)
HSVhsv(24, 77%, 32%)
CMYKcmyk(0%, 45.7%, 76.5%, 68.2%)
CIE-LABlab(22.30, 14.62, 23.08)
CIE-LCHlch(22.30, 27.32, 57.64°)
OKLaboklab(33.56% 0.0402 0.0524)
OKLCHoklch(33.56% 0.066 52.5)
XYZxyz(4.4119, 3.5982, 1.0781)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C13 #133851
analogous
#511319 #512C13 #514B13
triadic
#512C13 #13512C #2C1351
tetradic
#512C13 #195113 #133851 #4B1351
square
#512C13 #195113 #133851 #4B1351
split-complementary
#512C13 #13514B #131951
monochromatic
#190D06 #1F1107 #512C13 #83471F #B4622A

Accessibility & contrast

On white

12.21
#512C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512C13
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C13#FFFFFF#000000##FFFFFF
##512C131.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373010
Deuteranopia (green-blind)
#3F3913
Tritanopia (blue-blind)
#592426
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c13;
/* rgb */ color: rgb(81, 44, 19);
/* oklch */ color: oklch(33.6% 0.066 52.5);
Tailwind
colors: {
  custom: {
    50: '#866552',
    500: '#512c13',
    950: '#000000',
  },
}
SCSS
$custom: #512c13;
$custom-light: #866552;
$custom-dark: #000000;
JSON
{
  "hex": "#512c13",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 19
  },
  "hsl": {
    "h": 24.194,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33557,
    "c": 0.06606,
    "h": 52.5
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#512C13
secondary
#36688A
accent
#A4E543
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C13

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

Preview Lab → · Contrast checker → · Palette generator →

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