#511C21#511C21

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

Color values

HEX#511C21
RGBrgb(81, 28, 33)
HSLhsl(354, 49%, 21%)
HSVhsv(354, 65%, 32%)
CMYKcmyk(0%, 65.4%, 59.3%, 68.2%)
CIE-LABlab(18.76, 25.30, 9.52)
CIE-LCHlch(18.76, 27.03, 20.63°)
OKLaboklab(30.94% 0.0759 0.0237)
OKLCHoklch(30.94% 0.08 17.4)
XYZxyz(4.0834, 2.6901, 1.7428)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C21 #1C514C
analogous
#511C3C #511C21 #51321C
triadic
#511C21 #21511C #1C2151
tetradic
#511C21 #3C511C #1C514C #321C51
square
#511C21 #3C511C #1C514C #321C51
split-complementary
#511C21 #1C5132 #1C3C51
monochromatic
#170809 #240C0E #511C21 #7E2C34 #AC3B46

Accessibility & contrast

On white

13.65
#511C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C21
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C21#FFFFFF#000000##FFFFFF
##511C211.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282721
Deuteranopia (green-blind)
#363220
Tritanopia (blue-blind)
#59131E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c21;
/* rgb */ color: rgb(81, 28, 33);
/* oklch */ color: oklch(30.9% 0.080 17.4);
Tailwind
colors: {
  custom: {
    50: '#865b5c',
    500: '#511c21',
    950: '#000000',
  },
}
SCSS
$custom: #511c21;
$custom-light: #865b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511c21",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 33
  },
  "hsl": {
    "h": 354.34,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30943,
    "c": 0.0795,
    "h": 17.4
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#511C21
secondary
#428780
accent
#D8CB50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511C21

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

Preview Lab → · Contrast checker → · Palette generator →

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