#BA0D21

A color in the Red, Pink family

#ba0d21 is a color in the Red, Pink family: RGB(186, 13, 33), HSL(353°, 87%, 39%), CMYK(0%, 93%, 82%, 27%). Closest named color: firebrick. Contrast is 6.63:1 on white and 3.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ba0d21
RGBrgb(186 13 33)
RGB (legacy)rgb(186, 13, 33)
RGB %rgb(73% 5% 13%)
HSLhsl(353 87% 39%)
HSV / HSBhsv(353, 93%, 73%)
HWBhwb(353 5% 27%)
CMYKcmyk(0%, 93%, 82%, 27%)
CIELAB (D50)lab(40.09 62.75 40.73)
LCHlch(40.09 74.81 32.99)
OKLaboklab(0.5011 0.1793 0.0827)
OKLCHoklch(0.5011 0.1975 24.77)
Decimal12193057

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 1.9
Closest web-safe color#cc0033
Hue353°
Saturation (HSL / HSV)87% / 93%
Lightness (HSL)39%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)26% / 20%
Relative luminance (WCAG)0.1084
Red / Green / Blue186 / 13 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.17: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.5 / -21.4 · As background with white / black text: Lc -85.6 / 23.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: #ba0d21;
  --color-brand-oklch: oklch(50.11% 0.1975 24.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 13 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba0d21] text-[#ba0d21] border-[#ba0d21]">