#BA2E4E

A color in the Red, Pink family

#ba2e4e is a color in the Red, Pink family: RGB(186, 46, 78), HSL(346°, 60%, 45%), CMYK(0%, 75%, 58%, 27%). Closest named color: firebrick. Contrast is 5.85:1 on white and 3.59:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba2e4e
RGBrgb(186 46 78)
RGB (legacy)rgb(186, 46, 78)
RGB %rgb(73% 18% 31%)
HSLhsl(346 60% 45%)
HSV / HSBhsv(346, 75%, 73%)
HWBhwb(346 18% 27%)
CMYKcmyk(0%, 75%, 58%, 27%)
CIELAB (D50)lab(43.28 57.04 16.96)
LCHlch(43.28 59.51 16.56)
OKLaboklab(0.5282 0.1715 0.0389)
OKLCHoklch(0.5282 0.1758 12.78)
Decimal12201550

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 5.4
Closest web-safe color#cc3366
Hue346°
Saturation (HSL / HSV)60% / 75%
Lightness (HSL)45%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)36% / 31%
Relative luminance (WCAG)0.1294
Red / Green / Blue186 / 46 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.85:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.59: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 / -23.8 · As background with white / black text: Lc -83.2 / 26.1

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: #ba2e4e;
  --color-brand-oklch: oklch(52.82% 0.1758 12.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 46 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba2e4e] text-[#ba2e4e] border-[#ba2e4e]">