#511A16#511A16

#511A16 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 27.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#511A16
RGBrgb(81, 26, 22)
HSLhsl(4, 57%, 20%)
HSVhsv(4, 73%, 32%)
CMYKcmyk(0%, 67.9%, 72.8%, 68.2%)
CIE-LABlab(18.13, 25.47, 16.34)
CIE-LCHlch(18.13, 30.26, 32.69°)
OKLaboklab(30.4% 0.0742 0.0383)
OKLCHoklch(30.4% 0.084 27.3)
XYZxyz(3.9079, 2.5466, 1.0447)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A16 #164D51
analogous
#51162F #511A16 #513816
triadic
#511A16 #16511A #1A1651
tetradic
#511A16 #2F5116 #164D51 #381651
square
#511A16 #2F5116 #164D51 #381651
split-complementary
#511A16 #165138 #162F51
monochromatic
#180807 #210B09 #511A16 #812923 #B13930

Accessibility & contrast

On white

13.91
#511A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A16
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A16#FFFFFF#000000##FFFFFF
##511A161.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292515
Deuteranopia (green-blind)
#363114
Tritanopia (blue-blind)
#5A0E19
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a16;
/* rgb */ color: rgb(81, 26, 22);
/* oklch */ color: oklch(30.4% 0.084 27.3);
Tailwind
colors: {
  custom: {
    50: '#875953',
    500: '#511a16',
    950: '#000000',
  },
}
SCSS
$custom: #511a16;
$custom-light: #875953;
$custom-dark: #000000;
JSON
{
  "hex": "#511a16",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 22
  },
  "hsl": {
    "h": 4.068,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30396,
    "c": 0.0835,
    "h": 27.3
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#511A16
secondary
#3A8388
accent
#D6E147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511A16

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

Preview Lab → · Contrast checker → · Palette generator →

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