#512E0F#512E0F

#512E0F is a dark, moderate orange. Relative luminance 0.037; OKLCH L 33.9% C 0.067 H 58.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#512E0F
RGBrgb(81, 46, 15)
HSLhsl(28, 69%, 19%)
HSVhsv(28, 81%, 32%)
CMYKcmyk(0%, 43.2%, 81.5%, 68.2%)
CIE-LABlab(22.79, 13.12, 25.86)
CIE-LCHlch(22.79, 29.00, 63.10°)
OKLaboklab(33.92% 0.035 0.0574)
OKLCHoklch(33.92% 0.067 58.6)
XYZxyz(4.4569, 3.7383, 0.9387)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E0F #0F3251
analogous
#510F11 #512E0F #514F0F
triadic
#512E0F #0F512E #2E0F51
tetradic
#512E0F #11510F #0F3251 #4F0F51
square
#512E0F #11510F #0F3251 #4F0F51
split-complementary
#512E0F #0F514F #0F1151
monochromatic
#1A0F05 #1D1105 #512E0F #854B19 #B86922

Accessibility & contrast

On white

12.02
#512E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#512E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512E0F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E0F#FFFFFF#000000##FFFFFF
##512E0F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320B
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#592627
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512e0f;
/* rgb */ color: rgb(81, 46, 15);
/* oklch */ color: oklch(33.9% 0.067 58.6);
Tailwind
colors: {
  custom: {
    50: '#86674f',
    500: '#512e0f',
    950: '#000000',
  },
}
SCSS
$custom: #512e0f;
$custom-light: #86674f;
$custom-dark: #000000;
JSON
{
  "hex": "#512e0f",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 15
  },
  "hsl": {
    "h": 28.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33922,
    "c": 0.06724,
    "h": 58.6
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#512E0F
secondary
#31618B
accent
#99EC3C
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0602
muted
#7D7A78

Preview Lab

Preview with #512E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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