#512A12#512A12

#512A12 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.1% C 0.068 H 50.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#512A12
RGBrgb(81, 42, 18)
HSLhsl(23, 64%, 19%)
HSVhsv(23, 78%, 32%)
CMYKcmyk(0%, 48.1%, 77.8%, 68.2%)
CIE-LABlab(21.76, 15.83, 23.08)
CIE-LCHlch(21.76, 27.99, 55.57°)
OKLaboklab(33.14% 0.0437 0.0522)
OKLCHoklch(33.14% 0.068 50.1)
XYZxyz(4.3309, 3.4494, 1.0099)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A12 #123951
analogous
#51121A #512A12 #514A12
triadic
#512A12 #12512A #2A1251
tetradic
#512A12 #1A5112 #123951 #4A1251
square
#512A12 #1A5112 #123951 #4A1251
split-complementary
#512A12 #12514A #121A51
monochromatic
#190D06 #1F1007 #512A12 #83441D #B55E28

Accessibility & contrast

On white

12.43
#512A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512A12
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A12#FFFFFF#000000##FFFFFF
##512A121.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512a12;
/* rgb */ color: rgb(81, 42, 18);
/* oklch */ color: oklch(33.1% 0.068 50.1);
Tailwind
colors: {
  custom: {
    50: '#866451',
    500: '#512a12',
    950: '#000000',
  },
}
SCSS
$custom: #512a12;
$custom-light: #866451;
$custom-dark: #000000;
JSON
{
  "hex": "#512a12",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 22.857,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33141,
    "c": 0.06804,
    "h": 50.1
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#512A12
secondary
#356A8A
accent
#A8E741
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512A12

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

Preview Lab → · Contrast checker → · Palette generator →

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