#511517#511517

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

Color values

HEX#511517
RGBrgb(81, 21, 23)
HSLhsl(358, 59%, 20%)
HSVhsv(358, 74%, 32%)
CMYKcmyk(0%, 74.1%, 71.6%, 68.2%)
CIE-LABlab(17.22, 28.04, 14.53)
CIE-LCHlch(17.22, 31.58, 27.39°)
OKLaboklab(29.72% 0.0826 0.0344)
OKLCHoklch(29.72% 0.089 22.6)
XYZxyz(3.8166, 2.3481, 1.0627)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511517 #15514F
analogous
#511535 #511517 #513115
triadic
#511517 #175115 #151751
tetradic
#511517 #355115 #15514F #311551
square
#511517 #355115 #15514F #311551
split-complementary
#511517 #155131 #153551
monochromatic
#180607 #200809 #511517 #822225 #B22E33

Accessibility & contrast

On white

14.29
#511517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511517
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511517#FFFFFF#000000##FFFFFF
##5115171.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511517;
/* rgb */ color: rgb(81, 21, 23);
/* oklch */ color: oklch(29.7% 0.089 22.6);
Tailwind
colors: {
  custom: {
    50: '#875753',
    500: '#511517',
    950: '#000000',
  },
}
SCSS
$custom: #511517;
$custom-light: #875753;
$custom-dark: #000000;
JSON
{
  "hex": "#511517",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29718,
    "c": 0.08943,
    "h": 22.6
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#511517
secondary
#398986
accent
#E2DD46
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511517

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

Preview Lab → · Contrast checker → · Palette generator →

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