#512D15#512D15

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

Color values

HEX#512D15
RGBrgb(81, 45, 21)
HSLhsl(24, 59%, 20%)
HSVhsv(24, 74%, 32%)
CMYKcmyk(0%, 44.4%, 74.1%, 68.2%)
CIE-LABlab(22.59, 14.12, 22.21)
CIE-LCHlch(22.59, 26.32, 57.55°)
OKLaboklab(33.79% 0.0391 0.0509)
OKLCHoklch(33.79% 0.064 52.5)
XYZxyz(4.4674, 3.6807, 1.1845)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D15 #153951
analogous
#51151B #512D15 #514B15
triadic
#512D15 #15512D #2D1551
tetradic
#512D15 #1B5115 #153951 #4B1551
square
#512D15 #1B5115 #153951 #4B1551
split-complementary
#512D15 #15514B #151B51
monochromatic
#180D06 #201208 #512D15 #824822 #B2632E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512D15#FFFFFF#000000##FFFFFF
##512D151.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)
#373113
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#592628
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d15;
/* rgb */ color: rgb(81, 45, 21);
/* oklch */ color: oklch(33.8% 0.064 52.5);
Tailwind
colors: {
  custom: {
    50: '#856653',
    500: '#512d15',
    950: '#000000',
  },
}
SCSS
$custom: #512d15;
$custom-light: #856653;
$custom-dark: #000000;
JSON
{
  "hex": "#512d15",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 21
  },
  "hsl": {
    "h": 24,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.06421,
    "h": 52.5
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#512D15
secondary
#396989
accent
#A4E246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512D15

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

Preview Lab → · Contrast checker → · Palette generator →

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