#511D21#511D21

#511D21 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.078 H 18.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#511D21
RGBrgb(81, 29, 33)
HSLhsl(355, 47%, 22%)
HSVhsv(355, 64%, 32%)
CMYKcmyk(0%, 64.2%, 59.3%, 68.2%)
CIE-LABlab(18.96, 24.76, 9.80)
CIE-LCHlch(18.96, 26.63, 21.60°)
OKLaboklab(31.1% 0.0741 0.0244)
OKLCHoklch(31.1% 0.078 18.2)
XYZxyz(4.1076, 2.7384, 1.7508)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D21 #1D514D
analogous
#511D3B #511D21 #51331D
triadic
#511D21 #21511D #1D2151
tetradic
#511D21 #3B511D #1D514D #331D51
square
#511D21 #3B511D #1D514D #331D51
split-complementary
#511D21 #1D5133 #1D3B51
monochromatic
#170809 #240D0F #511D21 #7E2D33 #AB3D46

Accessibility & contrast

On white

13.57
#511D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D21
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D21#FFFFFF#000000##FFFFFF
##511D211.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292721
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#59141F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d21;
/* rgb */ color: rgb(81, 29, 33);
/* oklch */ color: oklch(31.1% 0.078 18.2);
Tailwind
colors: {
  custom: {
    50: '#865b5c',
    500: '#511d21',
    950: '#000000',
  },
}
SCSS
$custom: #511d21;
$custom-light: #865b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511d21",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 33
  },
  "hsl": {
    "h": 355.385,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.07806,
    "h": 18.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#511D21
secondary
#448681
accent
#D7CD51
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511D21

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

Preview Lab → · Contrast checker → · Palette generator →

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