#511D22#511D22

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

Color values

HEX#511D22
RGBrgb(81, 29, 34)
HSLhsl(354, 47%, 22%)
HSVhsv(354, 64%, 32%)
CMYKcmyk(0%, 64.2%, 58%, 68.2%)
CIE-LABlab(18.99, 24.85, 9.13)
CIE-LCHlch(18.99, 26.48, 20.18°)
OKLaboklab(31.12% 0.0746 0.0229)
OKLCHoklch(31.12% 0.078 17)
XYZxyz(4.1218, 2.7441, 1.8257)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D22 #1D514C
analogous
#511D3C #511D22 #51321D
triadic
#511D22 #22511D #1D2251
tetradic
#511D22 #3C511D #1D514C #321D51
square
#511D22 #3C511D #1D514C #321D51
split-complementary
#511D22 #1D5132 #1D3C51
monochromatic
#170809 #240D0F #511D22 #7E2D35 #AB3D48

Accessibility & contrast

On white

13.56
#511D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D22
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D22#FFFFFF#000000##FFFFFF
##511D221.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292722
Deuteranopia (green-blind)
#363221
Tritanopia (blue-blind)
#59151F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d22;
/* rgb */ color: rgb(81, 29, 34);
/* oklch */ color: oklch(31.1% 0.078 17.0);
Tailwind
colors: {
  custom: {
    50: '#855b5c',
    500: '#511d22',
    950: '#000000',
  },
}
SCSS
$custom: #511d22;
$custom-light: #855b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511d22",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 354.231,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31124,
    "c": 0.07805,
    "h": 17
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#511D22
secondary
#448680
accent
#D7CA51
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511D22

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

Preview Lab → · Contrast checker → · Palette generator →

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