#B52021

A color in the Red, Pink family

#b52021 is a color in the Red, Pink family: RGB(181, 32, 33), HSL(0°, 70%, 42%), CMYK(0%, 82%, 82%, 29%). Closest named color: firebrick. Contrast is 6.58:1 on white and 3.19:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b52021
RGBrgb(181 32 33)
RGB (legacy)rgb(181, 32, 33)
RGB %rgb(71% 13% 13%)
HSLhsl(0 70% 42%)
HSV / HSBhsv(0, 82%, 71%)
HWBhwb(0 13% 29%)
CMYKcmyk(0%, 82%, 82%, 29%)
CIELAB (D50)lab(40.26 57.95 40.41)
LCHlch(40.26 70.65 34.88)
OKLaboklab(0.5009 0.1642 0.083)
OKLCHoklch(0.5009 0.1839 26.81)
Decimal11870241

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 0.6
Closest web-safe color#cc3333
Hue0°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)42%
Brightness or Value (HSV)71%
Luminance (Rec.601 / Rec.709)30% / 25%
Relative luminance (WCAG)0.1097
Red / Green / Blue181 / 32 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 80.8 / -21 · As background with white / black text: Lc -86 / 23.2

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: #b52021;
  --color-brand-oklch: oklch(50.09% 0.1839 26.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(181 32 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b52021] text-[#b52021] border-[#b52021]">