#511C20#511C20

#511C20 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.080 H 18.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#511C20
RGBrgb(81, 28, 32)
HSLhsl(355, 49%, 21%)
HSVhsv(355, 65%, 32%)
CMYKcmyk(0%, 65.4%, 60.5%, 68.2%)
CIE-LABlab(18.73, 25.21, 10.19)
CIE-LCHlch(18.73, 27.19, 22.02°)
OKLaboklab(30.92% 0.0754 0.0253)
OKLCHoklch(30.92% 0.08 18.5)
XYZxyz(4.0697, 2.6846, 1.6701)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C20 #1C514D
analogous
#511C3B #511C20 #51331C
triadic
#511C20 #20511C #1C2051
tetradic
#511C20 #3B511C #1C514D #331C51
square
#511C20 #3B511C #1C514D #331C51
split-complementary
#511C20 #1C5133 #1C3B51
monochromatic
#170809 #240C0E #511C20 #7E2C32 #AC3B44

Accessibility & contrast

On white

13.66
#511C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C20
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C20#FFFFFF#000000##FFFFFF
##511C201.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292720
Deuteranopia (green-blind)
#36321F
Tritanopia (blue-blind)
#59131E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c20;
/* rgb */ color: rgb(81, 28, 32);
/* oklch */ color: oklch(30.9% 0.080 18.5);
Tailwind
colors: {
  custom: {
    50: '#865b5b',
    500: '#511c20',
    950: '#000000',
  },
}
SCSS
$custom: #511c20;
$custom-light: #865b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#511c20",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 32
  },
  "hsl": {
    "h": 355.472,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30917,
    "c": 0.07953,
    "h": 18.5
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#511C20
secondary
#428781
accent
#D8CE50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511C20

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

Preview Lab → · Contrast checker → · Palette generator →

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