#511B21#511B21

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

Color values

HEX#511B21
RGBrgb(81, 27, 33)
HSLhsl(353, 50%, 21%)
HSVhsv(353, 67%, 32%)
CMYKcmyk(0%, 66.7%, 59.3%, 68.2%)
CIE-LABlab(18.56, 25.84, 9.25)
CIE-LCHlch(18.56, 27.44, 19.70°)
OKLaboklab(30.79% 0.0776 0.0231)
OKLCHoklch(30.79% 0.081 16.6)
XYZxyz(4.0601, 2.6435, 1.7350)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B21 #1B514B
analogous
#511B3C #511B21 #51301B
triadic
#511B21 #21511B #1B2151
tetradic
#511B21 #3C511B #1B514B #301B51
square
#511B21 #3C511B #1B514B #301B51
split-complementary
#511B21 #1B5130 #1B3C51
monochromatic
#170809 #230C0E #511B21 #7F2A34 #AD3A46

Accessibility & contrast

On white

13.74
#511B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B21
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B21#FFFFFF#000000##FFFFFF
##511B211.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511b21;
/* rgb */ color: rgb(81, 27, 33);
/* oklch */ color: oklch(30.8% 0.081 16.6);
Tailwind
colors: {
  custom: {
    50: '#865a5c',
    500: '#511b21',
    950: '#000000',
  },
}
SCSS
$custom: #511b21;
$custom-light: #865a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511b21",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 33
  },
  "hsl": {
    "h": 353.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30791,
    "c": 0.08093,
    "h": 16.6
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#511B21
secondary
#41877F
accent
#DACA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511B21

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

Preview Lab → · Contrast checker → · Palette generator →

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