#512011#512011

#512011 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.078 H 37.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#512011
RGBrgb(81, 32, 17)
HSLhsl(14, 65%, 19%)
HSVhsv(14, 79%, 32%)
CMYKcmyk(0%, 60.5%, 79%, 68.2%)
CIE-LABlab(19.32, 21.83, 20.96)
CIE-LCHlch(19.32, 30.26, 43.83°)
OKLaboklab(31.27% 0.0618 0.0475)
OKLCHoklch(31.27% 0.078 37.5)
XYZxyz(4.0114, 2.8233, 0.8639)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512011 #114251
analogous
#511122 #512011 #514011
triadic
#512011 #115120 #201151
tetradic
#512011 #225111 #114251 #401151
square
#512011 #225111 #114251 #401151
split-complementary
#512011 #115140 #112251
monochromatic
#190A05 #1E0C06 #512011 #84341C #B64826

Accessibility & contrast

On white

13.42
#512011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#512011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512011
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512011#FFFFFF#000000##FFFFFF
##5120111.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280F
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#5A161D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512011;
/* rgb */ color: rgb(81, 32, 17);
/* oklch */ color: oklch(31.3% 0.078 37.5);
Tailwind
colors: {
  custom: {
    50: '#875d4f',
    500: '#512011',
    950: '#000000',
  },
}
SCSS
$custom: #512011;
$custom-light: #875d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#512011",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 17
  },
  "hsl": {
    "h": 14.063,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.07792,
    "h": 37.5
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#512011
secondary
#34768A
accent
#C1E840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512011

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

Preview Lab → · Contrast checker → · Palette generator →

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