#511A21#511A21

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

Color values

HEX#511A21
RGBrgb(81, 26, 33)
HSLhsl(352, 51%, 21%)
HSVhsv(352, 68%, 32%)
CMYKcmyk(0%, 67.9%, 59.3%, 68.2%)
CIE-LABlab(18.36, 26.37, 8.98)
CIE-LCHlch(18.36, 27.85, 18.81°)
OKLaboklab(30.64% 0.0792 0.0225)
OKLCHoklch(30.64% 0.082 15.8)
XYZxyz(4.0376, 2.5984, 1.7275)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A21 #1A514A
analogous
#511A3C #511A21 #512E1A
triadic
#511A21 #21511A #1A2151
tetradic
#511A21 #3C511A #1A514A #2E1A51
square
#511A21 #3C511A #1A514A #2E1A51
split-complementary
#511A21 #1A512E #1A3C51
monochromatic
#170709 #230B0E #511A21 #7F2934 #AE3847

Accessibility & contrast

On white

13.82
#511A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A21
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A21#FFFFFF#000000##FFFFFF
##511A211.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272621
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#59111D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a21;
/* rgb */ color: rgb(81, 26, 33);
/* oklch */ color: oklch(30.6% 0.082 15.8);
Tailwind
colors: {
  custom: {
    50: '#865a5c',
    500: '#511a21',
    950: '#000000',
  },
}
SCSS
$custom: #511a21;
$custom-light: #865a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511a21",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 352.364,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30643,
    "c": 0.08236,
    "h": 15.8
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#511A21
secondary
#40877E
accent
#DBC94D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511A21

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

Preview Lab → · Contrast checker → · Palette generator →

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