#511E21#511E21

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

Color values

HEX#511E21
RGBrgb(81, 30, 33)
HSLhsl(356, 46%, 22%)
HSVhsv(356, 63%, 32%)
CMYKcmyk(0%, 63%, 59.3%, 68.2%)
CIE-LABlab(19.17, 24.20, 10.09)
CIE-LCHlch(19.17, 26.22, 22.62°)
OKLaboklab(31.26% 0.0724 0.0251)
OKLCHoklch(31.26% 0.077 19.1)
XYZxyz(4.1325, 2.7882, 1.7591)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E21 #1E514E
analogous
#511E3B #511E21 #51351E
triadic
#511E21 #21511E #1E2151
tetradic
#511E21 #3B511E #1E514E #351E51
square
#511E21 #3B511E #1E514E #351E51
split-complementary
#511E21 #1E5135 #1E3B51
monochromatic
#160809 #240D0F #511E21 #7E2F33 #AA3F45

Accessibility & contrast

On white

13.48
#511E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E21
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E21#FFFFFF#000000##FFFFFF
##511E211.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2821
Deuteranopia (green-blind)
#373320
Tritanopia (blue-blind)
#59161F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e21;
/* rgb */ color: rgb(81, 30, 33);
/* oklch */ color: oklch(31.3% 0.077 19.1);
Tailwind
colors: {
  custom: {
    50: '#855c5c',
    500: '#511e21',
    950: '#000000',
  },
}
SCSS
$custom: #511e21;
$custom-light: #855c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511e21",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 33
  },
  "hsl": {
    "h": 356.471,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31257,
    "c": 0.07663,
    "h": 19.1
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#511E21
secondary
#458682
accent
#D6CE52
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511E21

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

Preview Lab → · Contrast checker → · Palette generator →

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