#512C0F#512C0F

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

Color values

HEX#512C0F
RGBrgb(81, 44, 15)
HSLhsl(26, 69%, 19%)
HSVhsv(26, 81%, 32%)
CMYKcmyk(0%, 45.7%, 81.5%, 68.2%)
CIE-LABlab(22.25, 14.39, 25.30)
CIE-LCHlch(22.25, 29.11, 60.37°)
OKLaboklab(33.51% 0.0388 0.0562)
OKLCHoklch(33.51% 0.068 55.4)
XYZxyz(4.3806, 3.5857, 0.9132)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C0F #0F3451
analogous
#510F13 #512C0F #514D0F
triadic
#512C0F #0F512C #2C0F51
tetradic
#512C0F #13510F #0F3451 #4D0F51
square
#512C0F #13510F #0F3451 #4D0F51
split-complementary
#512C0F #0F514D #0F1351
monochromatic
#1A0E05 #1D1005 #512C0F #854819 #B86422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512C0F#FFFFFF#000000##FFFFFF
##512C0F1.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)
#37300B
Deuteranopia (green-blind)
#40380F
Tritanopia (blue-blind)
#592426
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512c0f;
/* rgb */ color: rgb(81, 44, 15);
/* oklch */ color: oklch(33.5% 0.068 55.4);
Tailwind
colors: {
  custom: {
    50: '#86654f',
    500: '#512c0f',
    950: '#000000',
  },
}
SCSS
$custom: #512c0f;
$custom-light: #86654f;
$custom-dark: #000000;
JSON
{
  "hex": "#512c0f",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 26.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33508,
    "c": 0.06833,
    "h": 55.4
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#512C0F
secondary
#31638B
accent
#9FEC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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