#511A12#511A12

#511A12 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.084 H 30.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#511A12
RGBrgb(81, 26, 18)
HSLhsl(8, 64%, 19%)
HSVhsv(8, 78%, 32%)
CMYKcmyk(0%, 67.9%, 77.8%, 68.2%)
CIE-LABlab(18.06, 25.22, 18.89)
CIE-LCHlch(18.06, 31.51, 36.83°)
OKLaboklab(30.33% 0.0725 0.0432)
OKLCHoklch(30.33% 0.084 30.8)
XYZxyz(3.8723, 2.5323, 0.8570)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A12 #124951
analogous
#51122A #511A12 #513A12
triadic
#511A12 #12511A #1A1251
tetradic
#511A12 #2A5112 #124951 #3A1251
square
#511A12 #2A5112 #124951 #3A1251
split-complementary
#511A12 #12513A #122A51
monochromatic
#190806 #1F0A07 #511A12 #832A1D #B53A28

Accessibility & contrast

On white

13.94
#511A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A12
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A12#FFFFFF#000000##FFFFFF
##511A121.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292511
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#5A0D18
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a12;
/* rgb */ color: rgb(81, 26, 18);
/* oklch */ color: oklch(30.3% 0.084 30.8);
Tailwind
colors: {
  custom: {
    50: '#875950',
    500: '#511a12',
    950: '#000000',
  },
}
SCSS
$custom: #511a12;
$custom-light: #875950;
$custom-dark: #000000;
JSON
{
  "hex": "#511a12",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 7.619,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.08442,
    "h": 30.8
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#511A12
secondary
#357F8A
accent
#D2E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511A12

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

Preview Lab → · Contrast checker → · Palette generator →

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