#512C15#512C15

#512C15 is a dark, moderate orange. Relative luminance 0.036; OKLCH L 33.6% C 0.065 H 50.8°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#512C15
RGBrgb(81, 44, 21)
HSLhsl(23, 59%, 20%)
HSVhsv(23, 74%, 32%)
CMYKcmyk(0%, 45.7%, 74.1%, 68.2%)
CIE-LABlab(22.32, 14.76, 21.91)
CIE-LCHlch(22.32, 26.42, 56.04°)
OKLaboklab(33.59% 0.041 0.0503)
OKLCHoklch(33.59% 0.065 50.8)
XYZxyz(4.4297, 3.6053, 1.1719)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C15 #153A51
analogous
#51151C #512C15 #514A15
triadic
#512C15 #15512C #2C1551
tetradic
#512C15 #1C5115 #153A51 #4A1551
square
#512C15 #1C5115 #153A51 #4A1551
split-complementary
#512C15 #15514A #151C51
monochromatic
#180D06 #201208 #512C15 #824622 #B2612E

Accessibility & contrast

On white

12.20
#512C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512C15
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C15#FFFFFF#000000##FFFFFF
##512C151.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363013
Deuteranopia (green-blind)
#3F3915
Tritanopia (blue-blind)
#592527
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c15;
/* rgb */ color: rgb(81, 44, 21);
/* oklch */ color: oklch(33.6% 0.065 50.8);
Tailwind
colors: {
  custom: {
    50: '#856553',
    500: '#512c15',
    950: '#000000',
  },
}
SCSS
$custom: #512c15;
$custom-light: #856553;
$custom-dark: #000000;
JSON
{
  "hex": "#512c15",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 21
  },
  "hsl": {
    "h": 23,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.06489,
    "h": 50.8
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#512C15
secondary
#396A89
accent
#A6E246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C15

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

Preview Lab → · Contrast checker → · Palette generator →

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