#5F2D21

A color in the Red, Pink family

#5f2d21 is a color in the Red, Pink family: RGB(95, 45, 33), HSL(12°, 48%, 25%), CMYK(0%, 53%, 65%, 63%). Closest named color: maroon. Contrast is 11.15:1 on white and 1.88:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5f2d21
RGBrgb(95 45 33)
RGB (legacy)rgb(95, 45, 33)
RGB %rgb(37% 18% 13%)
HSLhsl(12 48% 25%)
HSV / HSBhsv(12, 65%, 37%)
HWBhwb(12 13% 63%)
CMYKcmyk(0%, 53%, 65%, 63%)
CIELAB (D50)lab(25.32 22.4 18.65)
LCHlch(25.32 29.15 39.78)
OKLaboklab(0.3617 0.0626 0.0432)
OKLCHoklch(0.3617 0.0761 34.63)
Decimal6237473

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.88: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.4 / 0 · As background with white / black text: Lc -99.2 / 8.5

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