#511D13#511D13

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

Color values

HEX#511D13
RGBrgb(81, 29, 19)
HSLhsl(10, 62%, 20%)
HSVhsv(10, 77%, 32%)
CMYKcmyk(0%, 64.2%, 76.5%, 68.2%)
CIE-LABlab(18.69, 23.65, 19.01)
CIE-LCHlch(18.69, 30.34, 38.79°)
OKLaboklab(30.81% 0.0678 0.0436)
OKLCHoklch(30.81% 0.081 32.7)
XYZxyz(3.9506, 2.6756, 0.9244)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D13 #134751
analogous
#511328 #511D13 #513C13
triadic
#511D13 #13511D #1D1351
tetradic
#511D13 #285113 #134751 #3C1351
square
#511D13 #285113 #134751 #3C1351
split-complementary
#511D13 #13513C #132851
monochromatic
#190906 #1F0B07 #511D13 #832F1F #B4402A

Accessibility & contrast

On white

13.68
#511D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D13
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D13#FFFFFF#000000##FFFFFF
##511D131.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2612
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#5A121B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511d13;
/* rgb */ color: rgb(81, 29, 19);
/* oklch */ color: oklch(30.8% 0.081 32.7);
Tailwind
colors: {
  custom: {
    50: '#875b51',
    500: '#511d13',
    950: '#000000',
  },
}
SCSS
$custom: #511d13;
$custom-light: #875b51;
$custom-dark: #000000;
JSON
{
  "hex": "#511d13",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 19
  },
  "hsl": {
    "h": 9.677,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30808,
    "c": 0.08066,
    "h": 32.7
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#511D13
secondary
#367C8A
accent
#CBE543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D13

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

Preview Lab → · Contrast checker → · Palette generator →

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