#511D20#511D20

#511D20 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.078 H 19.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#511D20
RGBrgb(81, 29, 32)
HSLhsl(357, 47%, 22%)
HSVhsv(357, 64%, 32%)
CMYKcmyk(0%, 64.2%, 60.5%, 68.2%)
CIE-LABlab(18.94, 24.66, 10.47)
CIE-LCHlch(18.94, 26.79, 23.00°)
OKLaboklab(31.07% 0.0737 0.0259)
OKLCHoklch(31.07% 0.078 19.4)
XYZxyz(4.0938, 2.7328, 1.6781)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D20 #1D514E
analogous
#511D3A #511D20 #51341D
triadic
#511D20 #20511D #1D2051
tetradic
#511D20 #3A511D #1D514E #341D51
square
#511D20 #3A511D #1D514E #341D51
split-complementary
#511D20 #1D5134 #1D3A51
monochromatic
#170809 #240D0E #511D20 #7E2D32 #AB3D44

Accessibility & contrast

On white

13.58
#511D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D20
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D20#FFFFFF#000000##FFFFFF
##511D201.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292720
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#59141E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d20;
/* rgb */ color: rgb(81, 29, 32);
/* oklch */ color: oklch(31.1% 0.078 19.4);
Tailwind
colors: {
  custom: {
    50: '#865b5b',
    500: '#511d20',
    950: '#000000',
  },
}
SCSS
$custom: #511d20;
$custom-light: #865b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#511d20",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 32
  },
  "hsl": {
    "h": 356.538,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31073,
    "c": 0.07812,
    "h": 19.4
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#511D20
secondary
#448682
accent
#D7CF51
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511D20

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

Preview Lab → · Contrast checker → · Palette generator →

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