#512A15#512A15

#512A15 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.2% C 0.066 H 47.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#512A15
RGBrgb(81, 42, 21)
HSLhsl(21, 59%, 20%)
HSVhsv(21, 74%, 32%)
CMYKcmyk(0%, 48.1%, 74.1%, 68.2%)
CIE-LABlab(21.80, 16.02, 21.32)
CIE-LCHlch(21.80, 26.67, 53.08°)
OKLaboklab(33.18% 0.0448 0.049)
OKLCHoklch(33.18% 0.066 47.5)
XYZxyz(4.3570, 3.4599, 1.1477)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A15 #153C51
analogous
#51151E #512A15 #514815
triadic
#512A15 #15512A #2A1551
tetradic
#512A15 #1E5115 #153C51 #481551
square
#512A15 #1E5115 #153C51 #481551
split-complementary
#512A15 #155148 #151E51
monochromatic
#180D06 #201108 #512A15 #824322 #B25C2E

Accessibility & contrast

On white

12.41
#512A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#512A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512A15
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A15#FFFFFF#000000##FFFFFF
##512A151.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F13
Deuteranopia (green-blind)
#3E3815
Tritanopia (blue-blind)
#592225
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a15;
/* rgb */ color: rgb(81, 42, 21);
/* oklch */ color: oklch(33.2% 0.066 47.5);
Tailwind
colors: {
  custom: {
    50: '#866453',
    500: '#512a15',
    950: '#000000',
  },
}
SCSS
$custom: #512a15;
$custom-light: #866453;
$custom-dark: #000000;
JSON
{
  "hex": "#512a15",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 21,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.06641,
    "h": 47.5
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#512A15
secondary
#396D89
accent
#ABE246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512A15

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

Preview Lab → · Contrast checker → · Palette generator →

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