#511D1A#511D1A

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

Color values

HEX#511D1A
RGBrgb(81, 29, 26)
HSLhsl(3, 51%, 21%)
HSVhsv(3, 68%, 32%)
CMYKcmyk(0%, 64.2%, 67.9%, 68.2%)
CIE-LABlab(18.81, 24.14, 14.46)
CIE-LCHlch(18.81, 28.14, 30.93°)
OKLaboklab(30.94% 0.0709 0.0346)
OKLCHoklch(30.94% 0.079 26)
XYZxyz(4.0195, 2.7032, 1.2872)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D1A #1A4E51
analogous
#511A32 #511D1A #51381A
triadic
#511D1A #1A511D #1D1A51
tetradic
#511D1A #32511A #1A4E51 #381A51
square
#511D1A #32511A #1A4E51 #381A51
split-complementary
#511D1A #1A5138 #1A3251
monochromatic
#170807 #230C0B #511D1A #7F2E29 #AE3E38

Accessibility & contrast

On white

13.63
#511D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D1A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D1A#FFFFFF#000000##FFFFFF
##511D1A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2719
Deuteranopia (green-blind)
#373219
Tritanopia (blue-blind)
#59131D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d1a;
/* rgb */ color: rgb(81, 29, 26);
/* oklch */ color: oklch(30.9% 0.079 26.0);
Tailwind
colors: {
  custom: {
    50: '#865b56',
    500: '#511d1a',
    950: '#000000',
  },
}
SCSS
$custom: #511d1a;
$custom-light: #865b56;
$custom-dark: #000000;
JSON
{
  "hex": "#511d1a",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 26
  },
  "hsl": {
    "h": 3.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30936,
    "c": 0.07891,
    "h": 26
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#511D1A
secondary
#408387
accent
#D3DB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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