#511B11#511B11

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

Color values

HEX#511B11
RGBrgb(81, 27, 17)
HSLhsl(9, 65%, 19%)
HSVhsv(9, 79%, 32%)
CMYKcmyk(0%, 66.7%, 79%, 68.2%)
CIE-LABlab(18.25, 24.63, 19.70)
CIE-LCHlch(18.25, 31.54, 38.66°)
OKLaboklab(30.46% 0.0704 0.0449)
OKLCHoklch(30.46% 0.084 32.5)
XYZxyz(3.8869, 2.5742, 0.8224)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B11 #114751
analogous
#511127 #511B11 #513B11
triadic
#511B11 #11511B #1B1151
tetradic
#511B11 #275111 #114751 #3B1151
square
#511B11 #275111 #114751 #3B1151
split-complementary
#511B11 #11513B #112751
monochromatic
#190805 #1E0A06 #511B11 #842C1C #B63D26

Accessibility & contrast

On white

13.86
#511B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B11
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B11#FFFFFF#000000##FFFFFF
##511B111.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2510
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#5A0E19
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b11;
/* rgb */ color: rgb(81, 27, 17);
/* oklch */ color: oklch(30.5% 0.084 32.5);
Tailwind
colors: {
  custom: {
    50: '#875a4f',
    500: '#511b11',
    950: '#000000',
  },
}
SCSS
$custom: #511b11;
$custom-light: #875a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#511b11",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 17
  },
  "hsl": {
    "h": 9.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.08352,
    "h": 32.5
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#511B11
secondary
#347D8A
accent
#CEE840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B11

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

Preview Lab → · Contrast checker → · Palette generator →

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