#511D1C#511D1C

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

Color values

HEX#511D1C
RGBrgb(81, 29, 28)
HSLhsl(1, 49%, 21%)
HSVhsv(1, 65%, 32%)
CMYKcmyk(0%, 64.2%, 65.4%, 68.2%)
CIE-LABlab(18.85, 24.31, 13.14)
CIE-LCHlch(18.85, 27.63, 28.39°)
OKLaboklab(30.98% 0.0718 0.0318)
OKLCHoklch(30.98% 0.079 23.9)
XYZxyz(4.0427, 2.7124, 1.4090)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D1C #1C5051
analogous
#511C36 #511D1C #51381C
triadic
#511D1C #1C511D #1D1C51
tetradic
#511D1C #36511C #1C5051 #381C51
square
#511D1C #36511C #1C5051 #381C51
split-complementary
#511D1C #1C5138 #1C3651
monochromatic
#170808 #240D0C #511D1C #7E2D2C #AC3E3B

Accessibility & contrast

On white

13.62
#511D1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D1C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D1C#FFFFFF#000000##FFFFFF
##511D1C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271C
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#59131D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d1c;
/* rgb */ color: rgb(81, 29, 28);
/* oklch */ color: oklch(31.0% 0.079 23.9);
Tailwind
colors: {
  custom: {
    50: '#865b58',
    500: '#511d1c',
    950: '#000000',
  },
}
SCSS
$custom: #511d1c;
$custom-light: #865b58;
$custom-dark: #000000;
JSON
{
  "hex": "#511d1c",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 28
  },
  "hsl": {
    "h": 1.132,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.07856,
    "h": 23.9
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#511D1C
secondary
#428587
accent
#D6D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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