#511216#511216

#511216 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.093 H 21.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#511216
RGBrgb(81, 18, 22)
HSLhsl(356, 64%, 19%)
HSVhsv(356, 78%, 32%)
CMYKcmyk(0%, 77.8%, 72.8%, 68.2%)
CIE-LABlab(16.70, 29.34, 14.59)
CIE-LCHlch(16.70, 32.76, 26.44°)
OKLaboklab(29.33% 0.0864 0.0344)
OKLCHoklch(29.33% 0.093 21.7)
XYZxyz(3.7549, 2.2404, 0.9936)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511216 #12514D
analogous
#511236 #511216 #512E12
triadic
#511216 #165112 #121651
tetradic
#511216 #365112 #12514D #2E1251
square
#511216 #365112 #12514D #2E1251
split-complementary
#511216 #12512E #123651
monochromatic
#190607 #1F0708 #511216 #831D24 #B52831

Accessibility & contrast

On white

14.50
#511216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#511216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511216
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511216#FFFFFF#000000##FFFFFF
##5112161.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242116
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#5A0114
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #511216;
/* rgb */ color: rgb(81, 18, 22);
/* oklch */ color: oklch(29.3% 0.093 21.7);
Tailwind
colors: {
  custom: {
    50: '#875553',
    500: '#511216',
    950: '#000000',
  },
}
SCSS
$custom: #511216;
$custom-light: #875553;
$custom-dark: #000000;
JSON
{
  "hex": "#511216",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 356.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29327,
    "c": 0.093,
    "h": 21.7
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#511216
secondary
#358A84
accent
#E7DC41
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511216

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

Preview Lab → · Contrast checker → · Palette generator →

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