#511D14#511D14

#511D14 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.8% C 0.080 H 31.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#511D14
RGBrgb(81, 29, 20)
HSLhsl(9, 60%, 20%)
HSVhsv(9, 75%, 32%)
CMYKcmyk(0%, 64.2%, 75.3%, 68.2%)
CIE-LABlab(18.71, 23.72, 18.38)
CIE-LCHlch(18.71, 30.00, 37.78°)
OKLaboklab(30.82% 0.0683 0.0424)
OKLCHoklch(30.82% 0.08 31.9)
XYZxyz(3.9594, 2.6791, 0.9703)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D14 #144851
analogous
#51142A #511D14 #513B14
triadic
#511D14 #14511D #1D1451
tetradic
#511D14 #2A5114 #144851 #3B1451
square
#511D14 #2A5114 #144851 #3B1451
split-complementary
#511D14 #14513B #142A51
monochromatic
#190906 #200B08 #511D14 #822F20 #B3402C

Accessibility & contrast

On white

13.67
#511D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D14
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D14#FFFFFF#000000##FFFFFF
##511D141.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2613
Deuteranopia (green-blind)
#383213
Tritanopia (blue-blind)
#5A121B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d14;
/* rgb */ color: rgb(81, 29, 20);
/* oklch */ color: oklch(30.8% 0.080 31.9);
Tailwind
colors: {
  custom: {
    50: '#875b51',
    500: '#511d14',
    950: '#000000',
  },
}
SCSS
$custom: #511d14;
$custom-light: #875b51;
$custom-dark: #000000;
JSON
{
  "hex": "#511d14",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 20
  },
  "hsl": {
    "h": 8.852,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.08038,
    "h": 31.9
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#511D14
secondary
#387D89
accent
#CCE444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D14

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

Preview Lab → · Contrast checker → · Palette generator →

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