#512B0C#512B0C

#512B0C is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.3% C 0.070 H 55.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#512B0C
RGBrgb(81, 43, 12)
HSLhsl(27, 74%, 18%)
HSVhsv(27, 85%, 32%)
CMYKcmyk(0%, 46.9%, 85.2%, 68.2%)
CIE-LABlab(21.96, 14.88, 26.47)
CIE-LCHlch(21.96, 30.36, 60.67°)
OKLaboklab(33.27% 0.0397 0.0582)
OKLCHoklch(33.27% 0.07 55.7)
XYZxyz(4.3240, 3.5041, 0.7964)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B0C #0C3251
analogous
#510C0F #512B0C #514D0C
triadic
#512B0C #0C512B #2B0C51
tetradic
#512B0C #0F510C #0C3251 #4D0C51
square
#512B0C #0F510C #0C3251 #4D0C51
split-complementary
#512B0C #0C514D #0C0F51
monochromatic
#1B0E04 #1C0F04 #512B0C #864714 #BC641C

Accessibility & contrast

On white

12.35
#512B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#512B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512B0C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B0C#FFFFFF#000000##FFFFFF
##512B0C1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F08
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#592325
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512b0c;
/* rgb */ color: rgb(81, 43, 12);
/* oklch */ color: oklch(33.3% 0.070 55.7);
Tailwind
colors: {
  custom: {
    50: '#86644d',
    500: '#512b0c',
    950: '#000000',
  },
}
SCSS
$custom: #512b0c;
$custom-light: #86644d;
$custom-dark: #000000;
JSON
{
  "hex": "#512b0c",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 26.957,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.33274,
    "c": 0.07048,
    "h": 55.7
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#512B0C
secondary
#2C618C
accent
#9DF137
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0501
muted
#7D7A77

Preview Lab

Preview with #512B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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