#512416#512416

#512416 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.1% C 0.072 H 37.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#512416
RGBrgb(81, 36, 22)
HSLhsl(14, 57%, 20%)
HSVhsv(14, 73%, 32%)
CMYKcmyk(0%, 55.6%, 72.8%, 68.2%)
CIE-LABlab(20.32, 19.79, 18.97)
CIE-LCHlch(20.32, 27.41, 43.80°)
OKLaboklab(32.06% 0.0565 0.0441)
OKLCHoklch(32.06% 0.072 37.9)
XYZxyz(4.1694, 3.0695, 1.1318)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512416 #164351
analogous
#511626 #512416 #514116
triadic
#512416 #165124 #241651
tetradic
#512416 #265116 #164351 #411651
square
#512416 #265116 #164351 #411651
split-complementary
#512416 #165141 #162651
monochromatic
#180B07 #210F09 #512416 #813923 #B14F30

Accessibility & contrast

On white

13.01
#512416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#512416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512416
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512416#FFFFFF#000000##FFFFFF
##5124161.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B15
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#591B21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #512416;
/* rgb */ color: rgb(81, 36, 22);
/* oklch */ color: oklch(32.1% 0.072 37.9);
Tailwind
colors: {
  custom: {
    50: '#866053',
    500: '#512416',
    950: '#000000',
  },
}
SCSS
$custom: #512416;
$custom-light: #866053;
$custom-dark: #000000;
JSON
{
  "hex": "#512416",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 22
  },
  "hsl": {
    "h": 14.237,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32056,
    "c": 0.07169,
    "h": 37.9
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#512416
secondary
#3A7688
accent
#BCE147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0502
muted
#7D7978

Preview Lab

Preview with #512416

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

Preview Lab → · Contrast checker → · Palette generator →

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