#512A13#512A13

#512A13 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.2% C 0.068 H 49.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#512A13
RGBrgb(81, 42, 19)
HSLhsl(22, 62%, 20%)
HSVhsv(22, 77%, 32%)
CMYKcmyk(0%, 48.1%, 76.5%, 68.2%)
CIE-LABlab(21.77, 15.89, 22.50)
CIE-LCHlch(21.77, 27.55, 54.78°)
OKLaboklab(33.16% 0.044 0.0512)
OKLCHoklch(33.16% 0.068 49.3)
XYZxyz(4.3392, 3.4527, 1.0539)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A13 #133A51
analogous
#51131B #512A13 #514913
triadic
#512A13 #13512A #2A1351
tetradic
#512A13 #1B5113 #133A51 #491351
square
#512A13 #1B5113 #133A51 #491351
split-complementary
#512A13 #135149 #131B51
monochromatic
#190D06 #1F1007 #512A13 #83441F #B45D2A

Accessibility & contrast

On white

12.42
#512A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#512A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512A13
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A13#FFFFFF#000000##FFFFFF
##512A131.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F11
Deuteranopia (green-blind)
#3E3813
Tritanopia (blue-blind)
#592225
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a13;
/* rgb */ color: rgb(81, 42, 19);
/* oklch */ color: oklch(33.2% 0.068 49.3);
Tailwind
colors: {
  custom: {
    50: '#866451',
    500: '#512a13',
    950: '#000000',
  },
}
SCSS
$custom: #512a13;
$custom-light: #866451;
$custom-dark: #000000;
JSON
{
  "hex": "#512a13",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 19
  },
  "hsl": {
    "h": 22.258,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.0675,
    "h": 49.3
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#512A13
secondary
#366B8A
accent
#A9E543
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512A13

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

Preview Lab → · Contrast checker → · Palette generator →

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