#512A0C#512A0C

#512A0C is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.1% C 0.071 H 54.2°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#512A0C
RGBrgb(81, 42, 12)
HSLhsl(26, 74%, 18%)
HSVhsv(26, 85%, 32%)
CMYKcmyk(0%, 48.1%, 85.2%, 68.2%)
CIE-LABlab(21.70, 15.50, 26.19)
CIE-LCHlch(21.70, 30.44, 59.38°)
OKLaboklab(33.07% 0.0416 0.0577)
OKLCHoklch(33.07% 0.071 54.2)
XYZxyz(4.2880, 3.4323, 0.7844)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A0C #0C3351
analogous
#510C10 #512A0C #514C0C
triadic
#512A0C #0C512A #2A0C51
tetradic
#512A0C #10510C #0C3351 #4C0C51
square
#512A0C #10510C #0C3351 #4C0C51
split-complementary
#512A0C #0C514C #0C1051
monochromatic
#1B0E04 #1C0E04 #512A0C #864614 #BC611C

Accessibility & contrast

On white

12.45
#512A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512A0C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A0C#FFFFFF#000000##FFFFFF
##512A0C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F08
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#592224
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a0c;
/* rgb */ color: rgb(81, 42, 12);
/* oklch */ color: oklch(33.1% 0.071 54.2);
Tailwind
colors: {
  custom: {
    50: '#86644d',
    500: '#512a0c',
    950: '#000000',
  },
}
SCSS
$custom: #512a0c;
$custom-light: #86644d;
$custom-dark: #000000;
JSON
{
  "hex": "#512a0c",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 26.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.07111,
    "h": 54.2
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#512A0C
secondary
#2C638C
accent
#A0F137
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0501
muted
#7D7977

Preview Lab

Preview with #512A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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