#512C0E#512C0E

#512C0E is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.5% C 0.069 H 56.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#512C0E
RGBrgb(81, 44, 14)
HSLhsl(27, 71%, 19%)
HSVhsv(27, 83%, 32%)
CMYKcmyk(0%, 45.7%, 82.7%, 68.2%)
CIE-LABlab(22.24, 14.34, 25.81)
CIE-LCHlch(22.24, 29.52, 60.94°)
OKLaboklab(33.5% 0.0385 0.0571)
OKLCHoklch(33.5% 0.069 56)
XYZxyz(4.3737, 3.5829, 0.8766)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C0E #0E3351
analogous
#510E11 #512C0E #514D0E
triadic
#512C0E #0E512C #2C0E51
tetradic
#512C0E #11510E #0E3351 #4D0E51
square
#512C0E #11510E #0E3351 #4D0E51
split-complementary
#512C0E #0E514D #0E1151
monochromatic
#1A0E05 #1D1005 #512C0E #854817 #B96520

Accessibility & contrast

On white

12.23
#512C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#512C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512C0E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C0E#FFFFFF#000000##FFFFFF
##512C0E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300A
Deuteranopia (green-blind)
#40380E
Tritanopia (blue-blind)
#592426
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c0e;
/* rgb */ color: rgb(81, 44, 14);
/* oklch */ color: oklch(33.5% 0.069 56.0);
Tailwind
colors: {
  custom: {
    50: '#86654e',
    500: '#512c0e',
    950: '#000000',
  },
}
SCSS
$custom: #512c0e;
$custom-light: #86654e;
$custom-dark: #000000;
JSON
{
  "hex": "#512c0e",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 14
  },
  "hsl": {
    "h": 26.866,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.06886,
    "h": 56
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#512C0E
secondary
#2F628C
accent
#9DED3A
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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