#511B20#511B20

#511B20 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.081 H 17.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#511B20
RGBrgb(81, 27, 32)
HSLhsl(354, 50%, 21%)
HSVhsv(354, 67%, 32%)
CMYKcmyk(0%, 66.7%, 60.5%, 68.2%)
CIE-LABlab(18.53, 25.74, 9.92)
CIE-LCHlch(18.53, 27.59, 21.08°)
OKLaboklab(30.76% 0.0771 0.0246)
OKLCHoklch(30.76% 0.081 17.7)
XYZxyz(4.0463, 2.6380, 1.6623)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B20 #1B514C
analogous
#511B3B #511B20 #51311B
triadic
#511B20 #20511B #1B2051
tetradic
#511B20 #3B511B #1B514C #311B51
square
#511B20 #3B511B #1B514C #311B51
split-complementary
#511B20 #1B5131 #1B3B51
monochromatic
#170809 #230C0E #511B20 #7F2A32 #AD3A44

Accessibility & contrast

On white

13.75
#511B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B20
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B20#FFFFFF#000000##FFFFFF
##511B201.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282620
Deuteranopia (green-blind)
#36311F
Tritanopia (blue-blind)
#59121D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b20;
/* rgb */ color: rgb(81, 27, 32);
/* oklch */ color: oklch(30.8% 0.081 17.7);
Tailwind
colors: {
  custom: {
    50: '#865a5b',
    500: '#511b20',
    950: '#000000',
  },
}
SCSS
$custom: #511b20;
$custom-light: #865a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#511b20",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 354.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.08094,
    "h": 17.7
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#511B20
secondary
#418780
accent
#DACD4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511B20

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

Preview Lab → · Contrast checker → · Palette generator →

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