#511B16#511B16

#511B16 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.082 H 28.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#511B16
RGBrgb(81, 27, 22)
HSLhsl(5, 57%, 20%)
HSVhsv(5, 73%, 32%)
CMYKcmyk(0%, 66.7%, 72.8%, 68.2%)
CIE-LABlab(18.33, 24.94, 16.59)
CIE-LCHlch(18.33, 29.95, 33.63°)
OKLaboklab(30.55% 0.0725 0.0388)
OKLCHoklch(30.55% 0.082 28.2)
XYZxyz(3.9305, 2.5917, 1.0522)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B16 #164C51
analogous
#51162E #511B16 #513916
triadic
#511B16 #16511B #1B1651
tetradic
#511B16 #2E5116 #164C51 #391651
square
#511B16 #2E5116 #164C51 #391651
split-complementary
#511B16 #165139 #162E51
monochromatic
#180807 #210B09 #511B16 #812B23 #B13B30

Accessibility & contrast

On white

13.83
#511B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B16
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B16#FFFFFF#000000##FFFFFF
##511B161.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292515
Deuteranopia (green-blind)
#373115
Tritanopia (blue-blind)
#590F1A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b16;
/* rgb */ color: rgb(81, 27, 22);
/* oklch */ color: oklch(30.5% 0.082 28.2);
Tailwind
colors: {
  custom: {
    50: '#875a53',
    500: '#511b16',
    950: '#000000',
  },
}
SCSS
$custom: #511b16;
$custom-light: #875a53;
$custom-dark: #000000;
JSON
{
  "hex": "#511b16",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 5.085,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30546,
    "c": 0.08227,
    "h": 28.2
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#511B16
secondary
#3A8288
accent
#D4E147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B16

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

Preview Lab → · Contrast checker → · Palette generator →

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