#511A20#511A20

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

Color values

HEX#511A20
RGBrgb(81, 26, 32)
HSLhsl(353, 51%, 21%)
HSVhsv(353, 68%, 32%)
CMYKcmyk(0%, 67.9%, 60.5%, 68.2%)
CIE-LABlab(18.33, 26.27, 9.66)
CIE-LCHlch(18.33, 27.99, 20.18°)
OKLaboklab(30.62% 0.0788 0.024)
OKLCHoklch(30.62% 0.082 16.9)
XYZxyz(4.0238, 2.5929, 1.6548)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A20 #1A514B
analogous
#511A3B #511A20 #512F1A
triadic
#511A20 #20511A #1A2051
tetradic
#511A20 #3B511A #1A514B #2F1A51
square
#511A20 #3B511A #1A514B #2F1A51
split-complementary
#511A20 #1A512F #1A3B51
monochromatic
#170709 #230B0E #511A20 #7F2932 #AE3845

Accessibility & contrast

On white

13.83
#511A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A20
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A20#FFFFFF#000000##FFFFFF
##511A201.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272620
Deuteranopia (green-blind)
#35311F
Tritanopia (blue-blind)
#59101C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a20;
/* rgb */ color: rgb(81, 26, 32);
/* oklch */ color: oklch(30.6% 0.082 16.9);
Tailwind
colors: {
  custom: {
    50: '#865a5b',
    500: '#511a20',
    950: '#000000',
  },
}
SCSS
$custom: #511a20;
$custom-light: #865a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#511a20",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 353.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30617,
    "c": 0.08235,
    "h": 16.9
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#511A20
secondary
#40877F
accent
#DBCB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511A20

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

Preview Lab → · Contrast checker → · Palette generator →

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