#512F13#512F13

#512F13 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.2% C 0.064 H 57.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#512F13
RGBrgb(81, 47, 19)
HSLhsl(27, 62%, 20%)
HSVhsv(27, 77%, 32%)
CMYKcmyk(0%, 42%, 76.5%, 68.2%)
CIE-LABlab(23.10, 12.72, 23.96)
CIE-LCHlch(23.10, 27.13, 62.05°)
OKLaboklab(34.18% 0.0345 0.0543)
OKLCHoklch(34.18% 0.064 57.6)
XYZxyz(4.5278, 3.8298, 1.1167)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F13 #133551
analogous
#511316 #512F13 #514E13
triadic
#512F13 #13512F #2F1351
tetradic
#512F13 #165113 #133551 #4E1351
square
#512F13 #165113 #133551 #4E1351
split-complementary
#512F13 #13514E #131651
monochromatic
#190E06 #1F1207 #512F13 #834C1F #B4692A

Accessibility & contrast

On white

11.89
#512F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#512F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F13
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F13#FFFFFF#000000##FFFFFF
##512F131.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#413A13
Tritanopia (blue-blind)
#592829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f13;
/* rgb */ color: rgb(81, 47, 19);
/* oklch */ color: oklch(34.2% 0.064 57.6);
Tailwind
colors: {
  custom: {
    50: '#856752',
    500: '#512f13',
    950: '#000000',
  },
}
SCSS
$custom: #512f13;
$custom-light: #856752;
$custom-dark: #000000;
JSON
{
  "hex": "#512f13",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 19
  },
  "hsl": {
    "h": 27.097,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.06432,
    "h": 57.6
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#512F13
secondary
#36648A
accent
#9CE543
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512F13

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

Preview Lab → · Contrast checker → · Palette generator →

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