#512F19#512F19

#512F19 is a dark, moderate orange. Relative luminance 0.039; OKLCH L 34.3% C 0.060 H 52.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#512F19
RGBrgb(81, 47, 25)
HSLhsl(24, 53%, 21%)
HSVhsv(24, 69%, 32%)
CMYKcmyk(0%, 42%, 69.1%, 68.2%)
CIE-LABlab(23.18, 13.15, 20.46)
CIE-LCHlch(23.18, 24.32, 57.27°)
OKLaboklab(34.26% 0.0369 0.0478)
OKLCHoklch(34.26% 0.06 52.3)
XYZxyz(4.5857, 3.8530, 1.4217)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F19 #193B51
analogous
#51191F #512F19 #514B19
triadic
#512F19 #19512F #2F1951
tetradic
#512F19 #1F5119 #193B51 #4B1951
square
#512F19 #1F5119 #193B51 #4B1951
split-complementary
#512F19 #19514B #191F51
monochromatic
#170E07 #22140B #512F19 #804A27 #AF6536

Accessibility & contrast

On white

11.86
#512F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512F19
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F19#FFFFFF#000000##FFFFFF
##512F191.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393317
Deuteranopia (green-blind)
#413A19
Tritanopia (blue-blind)
#59282A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f19;
/* rgb */ color: rgb(81, 47, 25);
/* oklch */ color: oklch(34.3% 0.060 52.3);
Tailwind
colors: {
  custom: {
    50: '#856756',
    500: '#512f19',
    950: '#000000',
  },
}
SCSS
$custom: #512f19;
$custom-light: #856756;
$custom-dark: #000000;
JSON
{
  "hex": "#512f19",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 25
  },
  "hsl": {
    "h": 23.571,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34264,
    "c": 0.06038,
    "h": 52.3
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#512F19
secondary
#3E6B87
accent
#A3DC4C
background
#F8F6F5
surface
#F0EBE9
border
#CBC6C5
text
#0B0603
muted
#7C7A78

Preview Lab

Preview with #512F19

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

Preview Lab → · Contrast checker → · Palette generator →

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