#511713#511713

#511713 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 27.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#511713
RGBrgb(81, 23, 19)
HSLhsl(4, 62%, 20%)
HSVhsv(4, 77%, 32%)
CMYKcmyk(0%, 71.6%, 76.5%, 68.2%)
CIE-LABlab(17.51, 26.82, 17.59)
CIE-LCHlch(17.51, 32.07, 33.27°)
OKLaboklab(29.91% 0.0777 0.0406)
OKLCHoklch(29.91% 0.088 27.6)
XYZxyz(3.8177, 2.4097, 0.8801)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511713 #134D51
analogous
#51132E #511713 #513613
triadic
#511713 #135117 #171351
tetradic
#511713 #2E5113 #134D51 #361351
square
#511713 #2E5113 #134D51 #361351
split-complementary
#511713 #135136 #132E51
monochromatic
#190706 #1F0907 #511713 #83251F #B4332A

Accessibility & contrast

On white

14.17
#511713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511713
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511713#FFFFFF#000000##FFFFFF
##5117131.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272312
Deuteranopia (green-blind)
#353011
Tritanopia (blue-blind)
#5A0816
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511713;
/* rgb */ color: rgb(81, 23, 19);
/* oklch */ color: oklch(29.9% 0.088 27.6);
Tailwind
colors: {
  custom: {
    50: '#875850',
    500: '#511713',
    950: '#000000',
  },
}
SCSS
$custom: #511713;
$custom-light: #875850;
$custom-dark: #000000;
JSON
{
  "hex": "#511713",
  "rgb": {
    "r": 81,
    "g": 23,
    "b": 19
  },
  "hsl": {
    "h": 3.871,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.08769,
    "h": 27.6
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#511713
secondary
#36848A
accent
#DBE543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511713

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

Preview Lab → · Contrast checker → · Palette generator →

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