#512F0C#512F0C

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

Color values

HEX#512F0C
RGBrgb(81, 47, 12)
HSLhsl(30, 74%, 18%)
HSVhsv(30, 85%, 32%)
CMYKcmyk(0%, 42%, 85.2%, 68.2%)
CIE-LABlab(23.03, 12.33, 27.59)
CIE-LCHlch(23.03, 30.22, 65.92°)
OKLaboklab(34.1% 0.0322 0.0605)
OKLCHoklch(34.1% 0.068 62)
XYZxyz(4.4766, 3.8094, 0.8473)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F0C #0C2E51
analogous
#510C0C #512F0C #50510C
triadic
#512F0C #0C512F #2F0C51
tetradic
#512F0C #0C510C #0C2E51 #510C50
square
#512F0C #0C510C #0C2E51 #510C50
split-complementary
#512F0C #0C5051 #0C0C51
monochromatic
#1B0F04 #1C1004 #512F0C #864E14 #BC6D1C

Accessibility & contrast

On white

11.92
#512F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512F0C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F0C#FFFFFF#000000##FFFFFF
##512F0C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3207
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#592728
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f0c;
/* rgb */ color: rgb(81, 47, 12);
/* oklch */ color: oklch(34.1% 0.068 62.0);
Tailwind
colors: {
  custom: {
    50: '#86674d',
    500: '#512f0c',
    950: '#000000',
  },
}
SCSS
$custom: #512f0c;
$custom-light: #86674d;
$custom-dark: #000000;
JSON
{
  "hex": "#512f0c",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 30.435,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34102,
    "c": 0.06847,
    "h": 62
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#512F0C
secondary
#2C5C8C
accent
#93F137
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0601
muted
#7D7A77

Preview Lab

Preview with #512F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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