#512A0F#512A0F

#512A0F is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.1% C 0.070 H 52.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#512A0F
RGBrgb(81, 42, 15)
HSLhsl(25, 69%, 19%)
HSVhsv(25, 81%, 32%)
CMYKcmyk(0%, 48.1%, 81.5%, 68.2%)
CIE-LABlab(21.73, 15.65, 24.74)
CIE-LCHlch(21.73, 29.28, 57.68°)
OKLaboklab(33.11% 0.0426 0.0551)
OKLCHoklch(33.11% 0.07 52.3)
XYZxyz(4.3079, 3.4402, 0.8890)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512A0F #0F3651
analogous
#510F15 #512A0F #514B0F
triadic
#512A0F #0F512A #2A0F51
tetradic
#512A0F #15510F #0F3651 #4B0F51
square
#512A0F #15510F #0F3651 #4B0F51
split-complementary
#512A0F #0F514B #0F1551
monochromatic
#1A0D05 #1D0F05 #512A0F #854519 #B86022

Accessibility & contrast

On white

12.44
#512A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#512A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512A0F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512A0F#FFFFFF#000000##FFFFFF
##512A0F1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0C
Deuteranopia (green-blind)
#3F370F
Tritanopia (blue-blind)
#592224
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512a0f;
/* rgb */ color: rgb(81, 42, 15);
/* oklch */ color: oklch(33.1% 0.070 52.3);
Tailwind
colors: {
  custom: {
    50: '#86644f',
    500: '#512a0f',
    950: '#000000',
  },
}
SCSS
$custom: #512a0f;
$custom-light: #86644f;
$custom-dark: #000000;
JSON
{
  "hex": "#512a0f",
  "rgb": {
    "r": 81,
    "g": 42,
    "b": 15
  },
  "hsl": {
    "h": 24.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33105,
    "c": 0.06962,
    "h": 52.3
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#512A0F
secondary
#31668B
accent
#A4EC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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