#511B12#511B12

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

Color values

HEX#511B12
RGBrgb(81, 27, 18)
HSLhsl(9, 64%, 19%)
HSVhsv(9, 78%, 32%)
CMYKcmyk(0%, 66.7%, 77.8%, 68.2%)
CIE-LABlab(18.27, 24.69, 19.13)
CIE-LCHlch(18.27, 31.23, 37.77°)
OKLaboklab(30.48% 0.0708 0.0437)
OKLCHoklch(30.48% 0.083 31.7)
XYZxyz(3.8949, 2.5774, 0.8645)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B12 #124851
analogous
#511229 #511B12 #513B12
triadic
#511B12 #12511B #1B1251
tetradic
#511B12 #295112 #124851 #3B1251
square
#511B12 #295112 #124851 #3B1251
split-complementary
#511B12 #12513B #122951
monochromatic
#190806 #1F0A07 #511B12 #832C1D #B53C28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511B12#FFFFFF#000000##FFFFFF
##511B121.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511b12;
/* rgb */ color: rgb(81, 27, 18);
/* oklch */ color: oklch(30.5% 0.083 31.7);
Tailwind
colors: {
  custom: {
    50: '#875a50',
    500: '#511b12',
    950: '#000000',
  },
}
SCSS
$custom: #511b12;
$custom-light: #875a50;
$custom-dark: #000000;
JSON
{
  "hex": "#511b12",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 18
  },
  "hsl": {
    "h": 8.571,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.08326,
    "h": 31.7
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#511B12
secondary
#357E8A
accent
#CFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B12

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

Preview Lab → · Contrast checker → · Palette generator →

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