#512813#512813

#512813 is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.8% C 0.069 H 46.2°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#512813
RGBrgb(81, 40, 19)
HSLhsl(20, 62%, 20%)
HSVhsv(20, 77%, 32%)
CMYKcmyk(0%, 50.6%, 76.5%, 68.2%)
CIE-LABlab(21.26, 17.14, 21.93)
CIE-LCHlch(21.26, 27.83, 52.00°)
OKLaboklab(32.76% 0.0478 0.0499)
OKLCHoklch(32.76% 0.069 46.2)
XYZxyz(4.2700, 3.3144, 1.0308)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512813 #133C51
analogous
#51131D #512813 #514713
triadic
#512813 #135128 #281351
tetradic
#512813 #1D5113 #133C51 #471351
square
#512813 #1D5113 #133C51 #471351
split-complementary
#512813 #135147 #131D51
monochromatic
#190C06 #1F1007 #512813 #83401F #B4592A

Accessibility & contrast

On white

12.63
#512813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#512813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512813
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512813#FFFFFF#000000##FFFFFF
##5128131.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D11
Deuteranopia (green-blind)
#3D3712
Tritanopia (blue-blind)
#592023
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #512813;
/* rgb */ color: rgb(81, 40, 19);
/* oklch */ color: oklch(32.8% 0.069 46.2);
Tailwind
colors: {
  custom: {
    50: '#866251',
    500: '#512813',
    950: '#000000',
  },
}
SCSS
$custom: #512813;
$custom-light: #866251;
$custom-dark: #000000;
JSON
{
  "hex": "#512813",
  "rgb": {
    "r": 81,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 20.323,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.06914,
    "h": 46.2
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#512813
secondary
#366D8A
accent
#AEE543
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512813

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

Preview Lab → · Contrast checker → · Palette generator →

#512813 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva