#512B13#512B13

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

Color values

HEX#512B13
RGBrgb(81, 43, 19)
HSLhsl(23, 62%, 20%)
HSVhsv(23, 77%, 32%)
CMYKcmyk(0%, 46.9%, 76.5%, 68.2%)
CIE-LABlab(22.03, 15.26, 22.79)
CIE-LCHlch(22.03, 27.43, 56.20°)
OKLaboklab(33.36% 0.0421 0.0518)
OKLCHoklch(33.36% 0.067 50.9)
XYZxyz(4.3751, 3.5246, 1.0659)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B13 #133951
analogous
#51131A #512B13 #514A13
triadic
#512B13 #13512B #2B1351
tetradic
#512B13 #1A5113 #133951 #4A1351
square
#512B13 #1A5113 #133951 #4A1351
split-complementary
#512B13 #13514A #131A51
monochromatic
#190D06 #1F1107 #512B13 #83451F #B4602A

Accessibility & contrast

On white

12.32
#512B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#512B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512B13
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B13#FFFFFF#000000##FFFFFF
##512B131.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512b13;
/* rgb */ color: rgb(81, 43, 19);
/* oklch */ color: oklch(33.4% 0.067 50.9);
Tailwind
colors: {
  custom: {
    50: '#866451',
    500: '#512b13',
    950: '#000000',
  },
}
SCSS
$custom: #512b13;
$custom-light: #866451;
$custom-dark: #000000;
JSON
{
  "hex": "#512b13",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 19
  },
  "hsl": {
    "h": 23.226,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33355,
    "c": 0.06675,
    "h": 50.9
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#512B13
secondary
#36698A
accent
#A6E543
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512B13

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

Preview Lab → · Contrast checker → · Palette generator →

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