#511D1D#511D1D

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

Color values

HEX#511D1D
RGBrgb(81, 29, 29)
HSLhsl(0, 47%, 22%)
HSVhsv(0, 64%, 32%)
CMYKcmyk(0%, 64.2%, 64.2%, 68.2%)
CIE-LABlab(18.87, 24.39, 12.47)
CIE-LCHlch(18.87, 27.39, 27.08°)
OKLaboklab(31% 0.0723 0.0304)
OKLCHoklch(31% 0.078 22.8)
XYZxyz(4.0548, 2.7173, 1.4731)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D1D #1D5151
analogous
#511D37 #511D1D #51371D
triadic
#511D1D #1D511D #1D1D51
tetradic
#511D1D #37511D #1D5151 #371D51
square
#511D1D #37511D #1D5151 #371D51
split-complementary
#511D1D #1D5137 #1D3751
monochromatic
#170808 #240D0D #511D1D #7E2D2D #AB3D3D

Accessibility & contrast

On white

13.61
#511D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D1D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D1D#FFFFFF#000000##FFFFFF
##511D1D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#59141D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d1d;
/* rgb */ color: rgb(81, 29, 29);
/* oklch */ color: oklch(31.0% 0.078 22.8);
Tailwind
colors: {
  custom: {
    50: '#865b58',
    500: '#511d1d',
    950: '#000000',
  },
}
SCSS
$custom: #511d1d;
$custom-light: #865b58;
$custom-dark: #000000;
JSON
{
  "hex": "#511d1d",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 29
  },
  "hsl": {
    "h": 0,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31001,
    "c": 0.07841,
    "h": 22.8
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#511D1D
secondary
#448686
accent
#D7D751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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