#512915#512915

#512915 is a dark, moderate orange. Relative luminance 0.034; OKLCH L 33.0% C 0.067 H 46.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#512915
RGBrgb(81, 41, 21)
HSLhsl(20, 59%, 20%)
HSVhsv(20, 74%, 32%)
CMYKcmyk(0%, 49.4%, 74.1%, 68.2%)
CIE-LABlab(21.54, 16.65, 21.03)
CIE-LCHlch(21.54, 26.82, 51.63°)
OKLaboklab(32.99% 0.0467 0.0484)
OKLCHoklch(32.99% 0.067 46)
XYZxyz(4.3220, 3.3898, 1.1360)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512915 #153D51
analogous
#51151F #512915 #514715
triadic
#512915 #155129 #291551
tetradic
#512915 #1F5115 #153D51 #471551
square
#512915 #1F5115 #153D51 #471551
split-complementary
#512915 #155147 #151F51
monochromatic
#180C06 #201008 #512915 #824222 #B25A2E

Accessibility & contrast

On white

12.52
#512915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#512915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512915
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512915#FFFFFF#000000##FFFFFF
##5129151.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E13
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#592124
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #512915;
/* rgb */ color: rgb(81, 41, 21);
/* oklch */ color: oklch(33.0% 0.067 46.0);
Tailwind
colors: {
  custom: {
    50: '#866353',
    500: '#512915',
    950: '#000000',
  },
}
SCSS
$custom: #512915;
$custom-light: #866353;
$custom-dark: #000000;
JSON
{
  "hex": "#512915",
  "rgb": {
    "r": 81,
    "g": 41,
    "b": 21
  },
  "hsl": {
    "h": 20,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.06725,
    "h": 46
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#512915
secondary
#396E89
accent
#AEE246
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512915

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

Preview Lab → · Contrast checker → · Palette generator →

#512915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva