#512B15#512B15

#512B15 is a dark, moderate orange. Relative luminance 0.035; OKLCH L 33.4% C 0.066 H 49.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#512B15
RGBrgb(81, 43, 21)
HSLhsl(22, 59%, 20%)
HSVhsv(22, 74%, 32%)
CMYKcmyk(0%, 46.9%, 74.1%, 68.2%)
CIE-LABlab(22.06, 15.39, 21.61)
CIE-LCHlch(22.06, 26.53, 54.55°)
OKLaboklab(33.38% 0.0429 0.0496)
OKLCHoklch(33.38% 0.066 49.1)
XYZxyz(4.3929, 3.5317, 1.1597)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512B15 #153B51
analogous
#51151D #512B15 #514915
triadic
#512B15 #15512B #2B1551
tetradic
#512B15 #1D5115 #153B51 #491551
square
#512B15 #1D5115 #153B51 #491551
split-complementary
#512B15 #155149 #151D51
monochromatic
#180D06 #201108 #512B15 #824522 #B25F2E

Accessibility & contrast

On white

12.31
#512B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#512B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512B15
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512B15#FFFFFF#000000##FFFFFF
##512B151.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363013
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#592326
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512b15;
/* rgb */ color: rgb(81, 43, 21);
/* oklch */ color: oklch(33.4% 0.066 49.1);
Tailwind
colors: {
  custom: {
    50: '#866453',
    500: '#512b15',
    950: '#000000',
  },
}
SCSS
$custom: #512b15;
$custom-light: #866453;
$custom-dark: #000000;
JSON
{
  "hex": "#512b15",
  "rgb": {
    "r": 81,
    "g": 43,
    "b": 21
  },
  "hsl": {
    "h": 22,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.33382,
    "c": 0.06563,
    "h": 49.1
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#512B15
secondary
#396C89
accent
#A9E246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0C0502
muted
#7D7A78

Preview Lab

Preview with #512B15

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

Preview Lab → · Contrast checker → · Palette generator →

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