#5A2C21

A color in the Red, Pink family

#5a2c21 is a color in the Red, Pink family: RGB(90, 44, 33), HSL(12°, 46%, 24%), CMYK(0%, 51%, 63%, 65%). Closest named color: maroon. Contrast is 11.56:1 on white and 1.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#5a2c21
RGBrgb(90 44 33)
RGB (legacy)rgb(90, 44, 33)
RGB %rgb(35% 17% 13%)
HSLhsl(12 46% 24%)
HSV / HSBhsv(12, 63%, 35%)
HWBhwb(12 13% 65%)
CMYKcmyk(0%, 51%, 63%, 65%)
CIELAB (D50)lab(24.23 20.73 17.1)
LCHlch(24.23 26.87 39.51)
OKLaboklab(0.3519 0.0581 0.04)
OKLCHoklch(0.3519 0.0705 34.53)
Decimal5909537

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 8.8
Closest web-safe color#663333
Hue12°
Saturation (HSL / HSV)46% / 63%
Lightness (HSL)24%
Brightness or Value (HSV)35%
Luminance (Rec.601 / Rec.709)22% / 21%
Relative luminance (WCAG)0.0408
Red / Green / Blue90 / 44 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.82: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 96.3 / 0 · As background with white / black text: Lc -100 / 7.6

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: #5a2c21;
  --color-brand-oklch: oklch(35.19% 0.0705 34.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(90 44 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5a2c21] text-[#5a2c21] border-[#5a2c21]">