#511E24#511E24

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

Color values

HEX#511E24
RGBrgb(81, 30, 36)
HSLhsl(353, 46%, 22%)
HSVhsv(353, 63%, 32%)
CMYKcmyk(0%, 63%, 55.6%, 68.2%)
CIE-LABlab(19.25, 24.51, 8.09)
CIE-LCHlch(19.25, 25.81, 18.26°)
OKLaboklab(31.34% 0.0738 0.0204)
OKLCHoklch(31.34% 0.077 15.5)
XYZxyz(4.1764, 2.8057, 1.9904)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E24 #1E514B
analogous
#511E3E #511E24 #51321E
triadic
#511E24 #24511E #1E2451
tetradic
#511E24 #3E511E #1E514B #321E51
square
#511E24 #3E511E #1E514B #321E51
split-complementary
#511E24 #1E5132 #1E3E51
monochromatic
#16080A #240D10 #511E24 #7E2F38 #AA3F4C

Accessibility & contrast

On white

13.45
#511E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E24
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E24#FFFFFF#000000##FFFFFF
##511E241.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511e24;
/* rgb */ color: rgb(81, 30, 36);
/* oklch */ color: oklch(31.3% 0.077 15.5);
Tailwind
colors: {
  custom: {
    50: '#855c5e',
    500: '#511e24',
    950: '#000000',
  },
}
SCSS
$custom: #511e24;
$custom-light: #855c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511e24",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 352.941,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.07658,
    "h": 15.5
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#511E24
secondary
#45867E
accent
#D6C652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511E24

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

Preview Lab → · Contrast checker → · Palette generator →

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