#512B19#512B19

#512B19 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.4% C 0.063 H 45.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#512B19
RGBrgb(81, 43, 25)
HSLhsl(19, 53%, 21%)
HSVhsv(19, 69%, 32%)
CMYKcmyk(0%, 46.9%, 69.1%, 68.2%)
CIE-LABlab(22.12, 15.69, 19.19)
CIE-LCHlch(22.12, 24.79, 50.74°)
OKLaboklab(33.45% 0.0446 0.045)
OKLCHoklch(33.45% 0.063 45.3)
XYZxyz(4.4330, 3.5477, 1.3708)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B19 #193F51
analogous
#511923 #512B19 #514719
triadic
#512B19 #19512B #2B1951
tetradic
#512B19 #235119 #193F51 #471951
square
#512B19 #235119 #193F51 #471951
split-complementary
#512B19 #195147 #192351
monochromatic
#170C07 #22120B #512B19 #804427 #AF5D36

Accessibility & contrast

On white

12.29
#512B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#512B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512B19
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B19#FFFFFF#000000##FFFFFF
##512B191.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353017
Deuteranopia (green-blind)
#3E3819
Tritanopia (blue-blind)
#592427
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512b19;
/* rgb */ color: rgb(81, 43, 25);
/* oklch */ color: oklch(33.4% 0.063 45.3);
Tailwind
colors: {
  custom: {
    50: '#856556',
    500: '#512b19',
    950: '#000000',
  },
}
SCSS
$custom: #512b19;
$custom-light: #856556;
$custom-dark: #000000;
JSON
{
  "hex": "#512b19",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 25
  },
  "hsl": {
    "h": 19.286,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.06336,
    "h": 45.3
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#512B19
secondary
#3E7087
accent
#AEDC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0503
muted
#7C7A78

Preview Lab

Preview with #512B19

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

Preview Lab → · Contrast checker → · Palette generator →

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