#511B1A#511B1A

#511B1A is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.082 H 24.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#511B1A
RGBrgb(81, 27, 26)
HSLhsl(1, 51%, 21%)
HSVhsv(1, 68%, 32%)
CMYKcmyk(0%, 66.7%, 67.9%, 68.2%)
CIE-LABlab(18.40, 25.23, 13.94)
CIE-LCHlch(18.40, 28.82, 28.92°)
OKLaboklab(30.63% 0.0743 0.0334)
OKLCHoklch(30.63% 0.082 24.2)
XYZxyz(3.9721, 2.6083, 1.2714)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B1A #1A5051
analogous
#511A34 #511B1A #51361A
triadic
#511B1A #1A511B #1B1A51
tetradic
#511B1A #34511A #1A5051 #361A51
square
#511B1A #34511A #1A5051 #361A51
split-complementary
#511B1A #1A5136 #1A3451
monochromatic
#170807 #230C0B #511B1A #7F2A29 #AE3A38

Accessibility & contrast

On white

13.80
#511B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B1A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B1A#FFFFFF#000000##FFFFFF
##511B1A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292619
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#59101B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b1a;
/* rgb */ color: rgb(81, 27, 26);
/* oklch */ color: oklch(30.6% 0.082 24.2);
Tailwind
colors: {
  custom: {
    50: '#865a56',
    500: '#511b1a',
    950: '#000000',
  },
}
SCSS
$custom: #511b1a;
$custom-light: #865a56;
$custom-dark: #000000;
JSON
{
  "hex": "#511b1a",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 1.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30625,
    "c": 0.0815,
    "h": 24.2
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#511B1A
secondary
#408687
accent
#D8DB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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