#512B0F#512B0F

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

Color values

HEX#512B0F
RGBrgb(81, 43, 15)
HSLhsl(25, 69%, 19%)
HSVhsv(25, 81%, 32%)
CMYKcmyk(0%, 46.9%, 81.5%, 68.2%)
CIE-LABlab(21.99, 15.02, 25.02)
CIE-LCHlch(21.99, 29.19, 59.02°)
OKLaboklab(33.31% 0.0407 0.0557)
OKLCHoklch(33.31% 0.069 53.8)
XYZxyz(4.3438, 3.5120, 0.9010)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B0F #0F3551
analogous
#510F14 #512B0F #514C0F
triadic
#512B0F #0F512B #2B0F51
tetradic
#512B0F #14510F #0F3551 #4C0F51
square
#512B0F #14510F #0F3551 #4C0F51
split-complementary
#512B0F #0F514C #0F1451
monochromatic
#1A0E05 #1D1005 #512B0F #854619 #B86222

Accessibility & contrast

On white

12.34
#512B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512B0F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B0F#FFFFFF#000000##FFFFFF
##512B0F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512b0f;
/* rgb */ color: rgb(81, 43, 15);
/* oklch */ color: oklch(33.3% 0.069 53.8);
Tailwind
colors: {
  custom: {
    50: '#86644f',
    500: '#512b0f',
    950: '#000000',
  },
}
SCSS
$custom: #512b0f;
$custom-light: #86644f;
$custom-dark: #000000;
JSON
{
  "hex": "#512b0f",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 25.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.06895,
    "h": 53.8
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#512B0F
secondary
#31658B
accent
#A1EC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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