#511E22#511E22

#511E22 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.077 H 17.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#511E22
RGBrgb(81, 30, 34)
HSLhsl(355, 46%, 22%)
HSVhsv(355, 63%, 32%)
CMYKcmyk(0%, 63%, 58%, 68.2%)
CIE-LABlab(19.20, 24.30, 9.42)
CIE-LCHlch(19.20, 26.06, 21.19°)
OKLaboklab(31.28% 0.0729 0.0235)
OKLCHoklch(31.28% 0.077 17.9)
XYZxyz(4.1467, 2.7939, 1.8340)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E22 #1E514D
analogous
#511E3C #511E22 #51341E
triadic
#511E22 #22511E #1E2251
tetradic
#511E22 #3C511E #1E514D #341E51
square
#511E22 #3C511E #1E514D #341E51
split-complementary
#511E22 #1E5134 #1E3C51
monochromatic
#160809 #240D0F #511E22 #7E2F35 #AA3F47

Accessibility & contrast

On white

13.47
#511E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E22
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E22#FFFFFF#000000##FFFFFF
##511E221.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2822
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#591620
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e22;
/* rgb */ color: rgb(81, 30, 34);
/* oklch */ color: oklch(31.3% 0.077 17.9);
Tailwind
colors: {
  custom: {
    50: '#855c5c',
    500: '#511e22',
    950: '#000000',
  },
}
SCSS
$custom: #511e22;
$custom-light: #855c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511e22",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 355.294,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31282,
    "c": 0.07658,
    "h": 17.9
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#511E22
secondary
#458681
accent
#D6CB52
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511E22

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

Preview Lab → · Contrast checker → · Palette generator →

#511E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva