#512D0E#512D0E

#512D0E is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.7% C 0.068 H 57.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#512D0E
RGBrgb(81, 45, 14)
HSLhsl(28, 71%, 19%)
HSVhsv(28, 83%, 32%)
CMYKcmyk(0%, 44.4%, 82.7%, 68.2%)
CIE-LABlab(22.51, 13.70, 26.09)
CIE-LCHlch(22.51, 29.47, 62.29°)
OKLaboklab(33.7% 0.0366 0.0577)
OKLCHoklch(33.7% 0.068 57.6)
XYZxyz(4.4114, 3.6583, 0.8892)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D0E #0E3251
analogous
#510E10 #512D0E #514E0E
triadic
#512D0E #0E512D #2D0E51
tetradic
#512D0E #10510E #0E3251 #4E0E51
square
#512D0E #10510E #0E3251 #4E0E51
split-complementary
#512D0E #0E514E #0E1051
monochromatic
#1A0E05 #1D1005 #512D0E #854A17 #B96720

Accessibility & contrast

On white

12.13
#512D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#512D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D0E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D0E#FFFFFF#000000##FFFFFF
##512D0E1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310A
Deuteranopia (green-blind)
#40390E
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d0e;
/* rgb */ color: rgb(81, 45, 14);
/* oklch */ color: oklch(33.7% 0.068 57.6);
Tailwind
colors: {
  custom: {
    50: '#86664e',
    500: '#512d0e',
    950: '#000000',
  },
}
SCSS
$custom: #512d0e;
$custom-light: #86664e;
$custom-dark: #000000;
JSON
{
  "hex": "#512d0e",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 14
  },
  "hsl": {
    "h": 27.761,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33703,
    "c": 0.0683,
    "h": 57.6
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#512D0E
secondary
#2F618C
accent
#9BED3A
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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