#512B14#512B14

#512B14 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.4% C 0.066 H 50.0°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#512B14
RGBrgb(81, 43, 20)
HSLhsl(23, 60%, 20%)
HSVhsv(23, 75%, 32%)
CMYKcmyk(0%, 46.9%, 75.3%, 68.2%)
CIE-LABlab(22.05, 15.32, 22.21)
CIE-LCHlch(22.05, 26.98, 55.40°)
OKLaboklab(33.37% 0.0425 0.0507)
OKLCHoklch(33.37% 0.066 50)
XYZxyz(4.3838, 3.5281, 1.1118)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B14 #143A51
analogous
#51141C #512B14 #514A14
triadic
#512B14 #14512B #2B1451
tetradic
#512B14 #1C5114 #143A51 #4A1451
square
#512B14 #1C5114 #143A51 #4A1451
split-complementary
#512B14 #14514A #141C51
monochromatic
#190D06 #201108 #512B14 #824520 #B35F2C

Accessibility & contrast

On white

12.31
#512B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#512B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512B14
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B14#FFFFFF#000000##FFFFFF
##512B141.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363012
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#592326
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512b14;
/* rgb */ color: rgb(81, 43, 20);
/* oklch */ color: oklch(33.4% 0.066 50.0);
Tailwind
colors: {
  custom: {
    50: '#866452',
    500: '#512b14',
    950: '#000000',
  },
}
SCSS
$custom: #512b14;
$custom-light: #866452;
$custom-dark: #000000;
JSON
{
  "hex": "#512b14",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 20
  },
  "hsl": {
    "h": 22.623,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33368,
    "c": 0.06619,
    "h": 50
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#512B14
secondary
#386A89
accent
#A7E444
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512B14

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

Preview Lab → · Contrast checker → · Palette generator →

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