#511317#511317

#511317 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 21.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#511317
RGBrgb(81, 19, 23)
HSLhsl(356, 62%, 20%)
HSVhsv(356, 77%, 32%)
CMYKcmyk(0%, 76.5%, 71.6%, 68.2%)
CIE-LABlab(16.88, 28.96, 14.11)
CIE-LCHlch(16.88, 32.21, 25.97°)
OKLaboklab(29.47% 0.0855 0.0334)
OKLCHoklch(29.47% 0.092 21.4)
XYZxyz(3.7813, 2.2775, 1.0509)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511317 #13514D
analogous
#511336 #511317 #512E13
triadic
#511317 #175113 #131751
tetradic
#511317 #365113 #13514D #2E1351
square
#511317 #365113 #13514D #2E1351
split-complementary
#511317 #13512E #133651
monochromatic
#190607 #1F0709 #511317 #831F25 #B42A33

Accessibility & contrast

On white

14.43
#511317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#511317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511317
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511317#FFFFFF#000000##FFFFFF
##5113171.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242117
Deuteranopia (green-blind)
#342E15
Tritanopia (blue-blind)
#5A0315
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511317;
/* rgb */ color: rgb(81, 19, 23);
/* oklch */ color: oklch(29.5% 0.092 21.4);
Tailwind
colors: {
  custom: {
    50: '#875653',
    500: '#511317',
    950: '#000000',
  },
}
SCSS
$custom: #511317;
$custom-light: #875653;
$custom-dark: #000000;
JSON
{
  "hex": "#511317",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.129,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29467,
    "c": 0.09178,
    "h": 21.4
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#511317
secondary
#368A84
accent
#E5DB43
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511317

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

Preview Lab → · Contrast checker → · Palette generator →

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