#512B16#512B16

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

Color values

HEX#512B16
RGBrgb(81, 43, 22)
HSLhsl(21, 57%, 20%)
HSVhsv(21, 73%, 32%)
CMYKcmyk(0%, 46.9%, 72.8%, 68.2%)
CIE-LABlab(22.07, 15.46, 21.02)
CIE-LCHlch(22.07, 26.09, 53.66°)
OKLaboklab(33.4% 0.0433 0.0485)
OKLCHoklch(33.4% 0.065 48.2)
XYZxyz(4.4024, 3.5355, 1.2095)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B16 #163C51
analogous
#51161E #512B16 #514816
triadic
#512B16 #16512B #2B1651
tetradic
#512B16 #1E5116 #163C51 #481651
square
#512B16 #1E5116 #163C51 #481651
split-complementary
#512B16 #165148 #161E51
monochromatic
#180D07 #211109 #512B16 #814523 #B15E30

Accessibility & contrast

On white

12.30
#512B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512B16
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B16#FFFFFF#000000##FFFFFF
##512B161.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512b16;
/* rgb */ color: rgb(81, 43, 22);
/* oklch */ color: oklch(33.4% 0.065 48.2);
Tailwind
colors: {
  custom: {
    50: '#856454',
    500: '#512b16',
    950: '#000000',
  },
}
SCSS
$custom: #512b16;
$custom-light: #856454;
$custom-dark: #000000;
JSON
{
  "hex": "#512b16",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 22
  },
  "hsl": {
    "h": 21.356,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.33397,
    "c": 0.06505,
    "h": 48.2
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#512B16
secondary
#3A6D88
accent
#AAE147
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512B16

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

Preview Lab → · Contrast checker → · Palette generator →

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