#512811#512811

#512811 is a dark, moderate orange. Relative luminance 0.033; OKLCH L 32.7% C 0.070 H 47.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#512811
RGBrgb(81, 40, 17)
HSLhsl(22, 65%, 19%)
HSVhsv(22, 79%, 32%)
CMYKcmyk(0%, 50.6%, 79%, 68.2%)
CIE-LABlab(21.24, 17.01, 23.10)
CIE-LCHlch(21.24, 28.69, 53.63°)
OKLaboklab(32.74% 0.0471 0.052)
OKLCHoklch(32.74% 0.07 47.8)
XYZxyz(4.2537, 3.3079, 0.9447)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512811 #113A51
analogous
#51111A #512811 #514811
triadic
#512811 #115128 #281151
tetradic
#512811 #1A5111 #113A51 #481151
square
#512811 #1A5111 #113A51 #481151
split-complementary
#512811 #115148 #111A51
monochromatic
#190C05 #1E0F06 #512811 #84411C #B65A26

Accessibility & contrast

On white

12.64
#512811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512811
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512811#FFFFFF#000000##FFFFFF
##5128111.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512811;
/* rgb */ color: rgb(81, 40, 17);
/* oklch */ color: oklch(32.7% 0.070 47.8);
Tailwind
colors: {
  custom: {
    50: '#866250',
    500: '#512811',
    950: '#000000',
  },
}
SCSS
$custom: #512811;
$custom-light: #866250;
$custom-dark: #000000;
JSON
{
  "hex": "#512811",
  "rgb": {
    "r": 81,
    "g": 40,
    "b": 17
  },
  "hsl": {
    "h": 21.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.07014,
    "h": 47.8
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#512811
secondary
#346B8A
accent
#ACE840
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512811

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

Preview Lab → · Contrast checker → · Palette generator →

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