#511D24#511D24

#511D24 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.078 H 14.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#511D24
RGBrgb(81, 29, 36)
HSLhsl(352, 47%, 22%)
HSVhsv(352, 64%, 32%)
CMYKcmyk(0%, 64.2%, 55.6%, 68.2%)
CIE-LABlab(19.04, 25.06, 7.80)
CIE-LCHlch(19.04, 26.24, 17.29°)
OKLaboklab(31.18% 0.0755 0.0197)
OKLCHoklch(31.18% 0.078 14.6)
XYZxyz(4.1515, 2.7559, 1.9821)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D24 #1D514A
analogous
#511D3E #511D24 #51301D
triadic
#511D24 #24511D #1D2451
tetradic
#511D24 #3E511D #1D514A #301D51
square
#511D24 #3E511D #1D514A #301D51
split-complementary
#511D24 #1D5130 #1D3E51
monochromatic
#17080A #240D10 #511D24 #7E2D38 #AB3D4C

Accessibility & contrast

On white

13.54
#511D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D24
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D24#FFFFFF#000000##FFFFFF
##511D241.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292824
Deuteranopia (green-blind)
#363223
Tritanopia (blue-blind)
#591520
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d24;
/* rgb */ color: rgb(81, 29, 36);
/* oklch */ color: oklch(31.2% 0.078 14.6);
Tailwind
colors: {
  custom: {
    50: '#855b5e',
    500: '#511d24',
    950: '#000000',
  },
}
SCSS
$custom: #511d24;
$custom-light: #855b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511d24",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 36
  },
  "hsl": {
    "h": 351.923,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31178,
    "c": 0.07808,
    "h": 14.6
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#511D24
secondary
#44867D
accent
#D7C551
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511D24

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

Preview Lab → · Contrast checker → · Palette generator →

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