#512D19#512D19

#512D19 is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.9% C 0.062 H 48.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#512D19
RGBrgb(81, 45, 25)
HSLhsl(21, 53%, 21%)
HSVhsv(21, 69%, 32%)
CMYKcmyk(0%, 44.4%, 69.1%, 68.2%)
CIE-LABlab(22.64, 14.42, 19.82)
CIE-LCHlch(22.64, 24.51, 53.96°)
OKLaboklab(33.85% 0.0408 0.0464)
OKLCHoklch(33.85% 0.062 48.7)
XYZxyz(4.5075, 3.6967, 1.3957)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D19 #193D51
analogous
#511921 #512D19 #514919
triadic
#512D19 #19512D #2D1951
tetradic
#512D19 #215119 #193D51 #491951
square
#512D19 #215119 #193D51 #491951
split-complementary
#512D19 #195149 #192151
monochromatic
#170D07 #22130B #512D19 #804727 #AF6136

Accessibility & contrast

On white

12.07
#512D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#512D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D19
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D19#FFFFFF#000000##FFFFFF
##512D191.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#592628
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512d19;
/* rgb */ color: rgb(81, 45, 25);
/* oklch */ color: oklch(33.9% 0.062 48.7);
Tailwind
colors: {
  custom: {
    50: '#856656',
    500: '#512d19',
    950: '#000000',
  },
}
SCSS
$custom: #512d19;
$custom-light: #856656;
$custom-dark: #000000;
JSON
{
  "hex": "#512d19",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 25
  },
  "hsl": {
    "h": 21.429,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3385,
    "c": 0.06175,
    "h": 48.7
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#512D19
secondary
#3E6D87
accent
#A9DC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #512D19

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

Preview Lab → · Contrast checker → · Palette generator →

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