#511B13#511B13

#511B13 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 30.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#511B13
RGBrgb(81, 27, 19)
HSLhsl(8, 62%, 20%)
HSVhsv(8, 77%, 32%)
CMYKcmyk(0%, 66.7%, 76.5%, 68.2%)
CIE-LABlab(18.28, 24.75, 18.52)
CIE-LCHlch(18.28, 30.91, 36.81°)
OKLaboklab(30.5% 0.0712 0.0426)
OKLCHoklch(30.5% 0.083 30.9)
XYZxyz(3.9032, 2.5807, 0.9086)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B13 #134951
analogous
#51132A #511B13 #513A13
triadic
#511B13 #13511B #1B1351
tetradic
#511B13 #2A5113 #134951 #3A1351
square
#511B13 #2A5113 #134951 #3A1351
split-complementary
#511B13 #13513A #132A51
monochromatic
#190806 #1F0A07 #511B13 #832C1F #B43C2A

Accessibility & contrast

On white

13.85
#511B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B13
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B13#FFFFFF#000000##FFFFFF
##511B131.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2512
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#5A0F19
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b13;
/* rgb */ color: rgb(81, 27, 19);
/* oklch */ color: oklch(30.5% 0.083 30.9);
Tailwind
colors: {
  custom: {
    50: '#875a51',
    500: '#511b13',
    950: '#000000',
  },
}
SCSS
$custom: #511b13;
$custom-light: #875a51;
$custom-dark: #000000;
JSON
{
  "hex": "#511b13",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 19
  },
  "hsl": {
    "h": 7.742,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30495,
    "c": 0.08299,
    "h": 30.9
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#511B13
secondary
#367F8A
accent
#D0E543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B13

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

Preview Lab → · Contrast checker → · Palette generator →

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