#5F2A21

A color in the Red, Pink family

#5f2a21 is a color in the Red, Pink family: RGB(95, 42, 33), HSL(9°, 48%, 25%), CMYK(0%, 56%, 65%, 63%). Closest named color: maroon. Contrast is 11.41:1 on white and 1.84:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5f2a21
RGBrgb(95 42 33)
RGB (legacy)rgb(95, 42, 33)
RGB %rgb(37% 16% 13%)
HSLhsl(9 48% 25%)
HSV / HSBhsv(9, 65%, 37%)
HWBhwb(9 13% 63%)
CMYKcmyk(0%, 56%, 65%, 63%)
CIELAB (D50)lab(24.63 24.07 17.82)
LCHlch(24.63 29.95 36.51)
OKLaboklab(0.3564 0.068 0.0413)
OKLCHoklch(0.3564 0.0796 31.25)
Decimal6236705

Properties

Color ToneRed, Pink
Closest named colormaroon ΔE 7.8
Closest web-safe color#663333
Hue9°
Saturation (HSL / HSV)48% / 65%
Lightness (HSL)25%
Brightness or Value (HSV)37%
Luminance (Rec.601 / Rec.709)22% / 21%
Relative luminance (WCAG)0.042
Red / Green / Blue95 / 42 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.41:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.84: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 95.9 / 0 · As background with white / black text: Lc -99.7 / 8

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: #5f2a21;
  --color-brand-oklch: oklch(35.64% 0.0796 31.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(95 42 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5f2a21] text-[#5f2a21] border-[#5f2a21]">