#511D18#511D18

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

Color values

HEX#511D18
RGBrgb(81, 29, 24)
HSLhsl(5, 54%, 21%)
HSVhsv(5, 70%, 32%)
CMYKcmyk(0%, 64.2%, 70.4%, 68.2%)
CIE-LABlab(18.78, 23.99, 15.78)
CIE-LCHlch(18.78, 28.72, 33.34°)
OKLaboklab(30.9% 0.07 0.0373)
OKLCHoklch(30.9% 0.079 28.1)
XYZxyz(3.9980, 2.6945, 1.1735)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D18 #184C51
analogous
#51182F #511D18 #513918
triadic
#511D18 #18511D #1D1851
tetradic
#511D18 #2F5118 #184C51 #391851
square
#511D18 #2F5118 #184C51 #391851
split-complementary
#511D18 #185139 #182F51
monochromatic
#180807 #220C0A #511D18 #802E26 #AF3F34

Accessibility & contrast

On white

13.65
#511D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D18
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D18#FFFFFF#000000##FFFFFF
##511D181.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2717
Deuteranopia (green-blind)
#373217
Tritanopia (blue-blind)
#59131C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d18;
/* rgb */ color: rgb(81, 29, 24);
/* oklch */ color: oklch(30.9% 0.079 28.1);
Tailwind
colors: {
  custom: {
    50: '#865b54',
    500: '#511d18',
    950: '#000000',
  },
}
SCSS
$custom: #511d18;
$custom-light: #865b54;
$custom-dark: #000000;
JSON
{
  "hex": "#511d18",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 24
  },
  "hsl": {
    "h": 5.263,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.07934,
    "h": 28.1
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#511D18
secondary
#3D8188
accent
#D1DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D18

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

Preview Lab → · Contrast checker → · Palette generator →

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