#511117#511117

#511117 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.094 H 20.2°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#511117
RGBrgb(81, 17, 23)
HSLhsl(354, 65%, 19%)
HSVhsv(354, 79%, 32%)
CMYKcmyk(0%, 79%, 71.6%, 68.2%)
CIE-LABlab(16.57, 29.83, 13.71)
CIE-LCHlch(16.57, 32.83, 24.69°)
OKLaboklab(29.23% 0.0882 0.0325)
OKLCHoklch(29.23% 0.094 20.2)
XYZxyz(3.7488, 2.2126, 1.0401)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511117 #11514B
analogous
#511137 #511117 #512B11
triadic
#511117 #175111 #111751
tetradic
#511117 #375111 #11514B #2B1151
square
#511117 #375111 #11514B #2B1151
split-complementary
#511117 #11512B #113751
monochromatic
#190507 #1E0609 #511117 #841C25 #B62634

Accessibility & contrast

On white

14.56
#511117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#511117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511117
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511117#FFFFFF#000000##FFFFFF
##5111171.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#5A0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #511117;
/* rgb */ color: rgb(81, 17, 23);
/* oklch */ color: oklch(29.2% 0.094 20.2);
Tailwind
colors: {
  custom: {
    50: '#875553',
    500: '#511117',
    950: '#000000',
  },
}
SCSS
$custom: #511117;
$custom-light: #875553;
$custom-dark: #000000;
JSON
{
  "hex": "#511117",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 354.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29232,
    "c": 0.09404,
    "h": 20.2
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#511117
secondary
#348A82
accent
#E8D840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511117

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

Preview Lab → · Contrast checker → · Palette generator →

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