#511D16#511D16

#511D16 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.080 H 30.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#511D16
RGBrgb(81, 29, 22)
HSLhsl(7, 57%, 20%)
HSVhsv(7, 73%, 32%)
CMYKcmyk(0%, 64.2%, 72.8%, 68.2%)
CIE-LABlab(18.74, 23.85, 17.09)
CIE-LCHlch(18.74, 29.34, 35.62°)
OKLaboklab(30.86% 0.0691 0.0399)
OKLCHoklch(30.86% 0.08 30)
XYZxyz(3.9779, 2.6865, 1.0680)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D16 #164A51
analogous
#51162C #511D16 #513B16
triadic
#511D16 #16511D #1D1651
tetradic
#511D16 #2C5116 #164A51 #3B1651
square
#511D16 #2C5116 #164A51 #3B1651
split-complementary
#511D16 #16513B #162C51
monochromatic
#180907 #210C09 #511D16 #812E23 #B13F30

Accessibility & contrast

On white

13.66
#511D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D16
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D16#FFFFFF#000000##FFFFFF
##511D161.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2715
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#59121C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d16;
/* rgb */ color: rgb(81, 29, 22);
/* oklch */ color: oklch(30.9% 0.080 30.0);
Tailwind
colors: {
  custom: {
    50: '#865b53',
    500: '#511d16',
    950: '#000000',
  },
}
SCSS
$custom: #511d16;
$custom-light: #865b53;
$custom-dark: #000000;
JSON
{
  "hex": "#511d16",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 22
  },
  "hsl": {
    "h": 7.119,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30859,
    "c": 0.07983,
    "h": 30
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#511D16
secondary
#3A7F88
accent
#CEE147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D16

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

Preview Lab → · Contrast checker → · Palette generator →

#511D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva