#511516#511516

#511516 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.090 H 23.5°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#511516
RGBrgb(81, 21, 22)
HSLhsl(359, 59%, 20%)
HSVhsv(359, 74%, 32%)
CMYKcmyk(0%, 74.1%, 72.8%, 68.2%)
CIE-LABlab(17.20, 27.97, 15.20)
CIE-LCHlch(17.20, 31.84, 28.52°)
OKLaboklab(29.7% 0.0821 0.0357)
OKLCHoklch(29.7% 0.09 23.5)
XYZxyz(3.8067, 2.3441, 1.0109)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511516 #155150
analogous
#511534 #511516 #513215
triadic
#511516 #165115 #151651
tetradic
#511516 #345115 #155150 #321551
square
#511516 #345115 #155150 #321551
split-complementary
#511516 #155132 #153451
monochromatic
#180607 #200809 #511516 #822223 #B22E30

Accessibility & contrast

On white

14.30
#511516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511516
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511516#FFFFFF#000000##FFFFFF
##5115161.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252216
Deuteranopia (green-blind)
#342F14
Tritanopia (blue-blind)
#5A0616
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511516;
/* rgb */ color: rgb(81, 21, 22);
/* oklch */ color: oklch(29.7% 0.090 23.5);
Tailwind
colors: {
  custom: {
    50: '#875753',
    500: '#511516',
    950: '#000000',
  },
}
SCSS
$custom: #511516;
$custom-light: #875753;
$custom-dark: #000000;
JSON
{
  "hex": "#511516",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 22
  },
  "hsl": {
    "h": 359,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29698,
    "c": 0.08955,
    "h": 23.5
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#511516
secondary
#398987
accent
#E2DF46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511516

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

Preview Lab → · Contrast checker → · Palette generator →

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