#511D21

A color in the Red, Pink family

#511d21 is a color in the Red, Pink family: RGB(81, 29, 33), HSL(355°, 47%, 22%), CMYK(0%, 64%, 59%, 68%). Closest named color: maroon. Contrast is 13.57:1 on white and 1.55:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#511d21
RGBrgb(81 29 33)
RGB (legacy)rgb(81, 29, 33)
RGB %rgb(32% 11% 13%)
HSLhsl(355 47% 22%)
HSV / HSBhsv(355, 64%, 32%)
HWBhwb(355 11% 68%)
CMYKcmyk(0%, 64%, 59%, 68%)
CIELAB (D50)lab(19.24 25.12 10.37)
LCHlch(19.24 27.17 22.42)
OKLaboklab(0.311 0.0742 0.0244)
OKLCHoklch(0.311 0.0781 18.22)
Decimal5315873

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 10.3
Closest web-safe color#663333
Hue355°
Saturation (HSL / HSV)47% / 64%
Lightness (HSL)22%
Brightness or Value (HSV)32%
Luminance (Rec.601 / Rec.709)18% / 16%
Relative luminance (WCAG)0.0274
Red / Green / Blue81 / 29 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
13.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 99.6 / 0 · As background with white / black text: Lc -102.8 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #511d21;
  --color-brand-oklch: oklch(31.1% 0.0781 18.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(81 29 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#511d21] text-[#511d21] border-[#511d21]">