#512F0E#512F0E

#512F0E is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.1% C 0.067 H 60.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#512F0E
RGBrgb(81, 47, 14)
HSLhsl(30, 71%, 19%)
HSVhsv(30, 83%, 32%)
CMYKcmyk(0%, 42%, 82.7%, 68.2%)
CIE-LABlab(23.05, 12.43, 26.65)
CIE-LCHlch(23.05, 29.40, 65.00°)
OKLaboklab(34.12% 0.0328 0.0589)
OKLCHoklch(34.12% 0.067 60.9)
XYZxyz(4.4895, 3.8145, 0.9152)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F0E #0E3051
analogous
#510E0F #512F0E #51500E
triadic
#512F0E #0E512F #2F0E51
tetradic
#512F0E #0F510E #0E3051 #500E51
square
#512F0E #0F510E #0E3051 #500E51
split-complementary
#512F0E #0E5150 #0E0F51
monochromatic
#1A0F05 #1D1105 #512F0E #854D17 #B96C20

Accessibility & contrast

On white

11.91
#512F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#512F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F0E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F0E#FFFFFF#000000##FFFFFF
##512F0E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#592728
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f0e;
/* rgb */ color: rgb(81, 47, 14);
/* oklch */ color: oklch(34.1% 0.067 60.9);
Tailwind
colors: {
  custom: {
    50: '#86674f',
    500: '#512f0e',
    950: '#000000',
  },
}
SCSS
$custom: #512f0e;
$custom-light: #86674f;
$custom-dark: #000000;
JSON
{
  "hex": "#512f0e",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 29.552,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.34121,
    "c": 0.06736,
    "h": 60.9
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#512F0E
secondary
#2F5E8C
accent
#95ED3A
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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