#512E13#512E13

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

Color values

HEX#512E13
RGBrgb(81, 46, 19)
HSLhsl(26, 62%, 20%)
HSVhsv(26, 77%, 32%)
CMYKcmyk(0%, 43.2%, 76.5%, 68.2%)
CIE-LABlab(22.83, 13.35, 23.67)
CIE-LCHlch(22.83, 27.17, 60.57°)
OKLaboklab(33.97% 0.0364 0.0537)
OKLCHoklch(33.97% 0.065 55.8)
XYZxyz(4.4882, 3.7508, 1.1036)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E13 #133651
analogous
#511317 #512E13 #514D13
triadic
#512E13 #13512E #2E1351
tetradic
#512E13 #175113 #133651 #4D1351
square
#512E13 #175113 #133651 #4D1351
split-complementary
#512E13 #13514D #131751
monochromatic
#190E06 #1F1207 #512E13 #834A1F #B4662A

Accessibility & contrast

On white

12.00
#512E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#512E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512E13
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E13#FFFFFF#000000##FFFFFF
##512E131.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383210
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#592728
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512e13;
/* rgb */ color: rgb(81, 46, 19);
/* oklch */ color: oklch(34.0% 0.065 55.8);
Tailwind
colors: {
  custom: {
    50: '#856752',
    500: '#512e13',
    950: '#000000',
  },
}
SCSS
$custom: #512e13;
$custom-light: #856752;
$custom-dark: #000000;
JSON
{
  "hex": "#512e13",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 19
  },
  "hsl": {
    "h": 26.129,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33969,
    "c": 0.06484,
    "h": 55.8
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#512E13
secondary
#36658A
accent
#9EE543
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512E13

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

Preview Lab → · Contrast checker → · Palette generator →

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