#512F0F#512F0F

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

Color values

HEX#512F0F
RGBrgb(81, 47, 15)
HSLhsl(29, 69%, 19%)
HSVhsv(29, 81%, 32%)
CMYKcmyk(0%, 42%, 81.5%, 68.2%)
CIE-LABlab(23.06, 12.48, 26.14)
CIE-LCHlch(23.06, 28.97, 64.48°)
OKLaboklab(34.13% 0.0331 0.058)
OKLCHoklch(34.13% 0.067 60.3)
XYZxyz(4.4964, 3.8173, 0.9519)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F0F #0F3151
analogous
#510F10 #512F0F #51500F
triadic
#512F0F #0F512F #2F0F51
tetradic
#512F0F #10510F #0F3151 #500F51
square
#512F0F #10510F #0F3151 #500F51
split-complementary
#512F0F #0F5150 #0F1051
monochromatic
#1A0F05 #1D1105 #512F0F #854D19 #B86B22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##512F0F#FFFFFF#000000##FFFFFF
##512F0F1.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)
#39320B
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#592728
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f0f;
/* rgb */ color: rgb(81, 47, 15);
/* oklch */ color: oklch(34.1% 0.067 60.3);
Tailwind
colors: {
  custom: {
    50: '#86674f',
    500: '#512f0f',
    950: '#000000',
  },
}
SCSS
$custom: #512f0f;
$custom-light: #86674f;
$custom-dark: #000000;
JSON
{
  "hex": "#512f0f",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 29.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.06678,
    "h": 60.3
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#512F0F
secondary
#315F8B
accent
#97EC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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