#BA2E21

A color in the Red, Pink family

#ba2e21 is a color in the Red, Pink family: RGB(186, 46, 33), HSL(5°, 70%, 43%), CMYK(0%, 75%, 82%, 27%). Closest named color: firebrick. Contrast is 6:1 on white and 3.5:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ba2e21
RGBrgb(186 46 33)
RGB (legacy)rgb(186, 46, 33)
RGB %rgb(73% 18% 13%)
HSLhsl(5 70% 43%)
HSV / HSBhsv(5, 82%, 73%)
HWBhwb(5 13% 27%)
CMYKcmyk(0%, 75%, 82%, 27%)
CIELAB (D50)lab(42.73 55.51 43.04)
LCHlch(42.73 70.24 37.78)
OKLaboklab(0.5211 0.1552 0.0885)
OKLCHoklch(0.5211 0.1787 29.69)
Decimal12201505

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 2.6
Closest web-safe color#cc3333
Hue5°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)34% / 29%
Relative luminance (WCAG)0.125
Red / Green / Blue186 / 46 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.50: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 78.6 / -23.2 · As background with white / black text: Lc -83.8 / 25.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: #ba2e21;
  --color-brand-oklch: oklch(52.11% 0.1787 29.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 46 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba2e21] text-[#ba2e21] border-[#ba2e21]">