#512D14#512D14

#512D14 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.8% C 0.065 H 53.3°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#512D14
RGBrgb(81, 45, 20)
HSLhsl(25, 60%, 20%)
HSVhsv(25, 75%, 32%)
CMYKcmyk(0%, 44.4%, 75.3%, 68.2%)
CIE-LABlab(22.57, 14.05, 22.80)
CIE-LCHlch(22.57, 26.78, 58.35°)
OKLaboklab(33.78% 0.0387 0.052)
OKLCHoklch(33.78% 0.065 53.3)
XYZxyz(4.4583, 3.6771, 1.1366)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D14 #143851
analogous
#51141A #512D14 #514C14
triadic
#512D14 #14512D #2D1451
tetradic
#512D14 #1A5114 #143851 #4C1451
square
#512D14 #1A5114 #143851 #4C1451
split-complementary
#512D14 #14514C #141A51
monochromatic
#190E06 #201208 #512D14 #824820 #B3642C

Accessibility & contrast

On white

12.10
#512D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#512D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D14
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D14#FFFFFF#000000##FFFFFF
##512D141.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373111
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#592627
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d14;
/* rgb */ color: rgb(81, 45, 20);
/* oklch */ color: oklch(33.8% 0.065 53.3);
Tailwind
colors: {
  custom: {
    50: '#856652',
    500: '#512d14',
    950: '#000000',
  },
}
SCSS
$custom: #512d14;
$custom-light: #856652;
$custom-dark: #000000;
JSON
{
  "hex": "#512d14",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 20
  },
  "hsl": {
    "h": 24.59,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.06482,
    "h": 53.3
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#512D14
secondary
#386889
accent
#A2E444
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D14

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

Preview Lab → · Contrast checker → · Palette generator →

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