#BA1237

A color in the Red, Pink family

#ba1237 is a color in the Red, Pink family: RGB(186, 18, 55), HSL(347°, 82%, 40%), CMYK(0%, 90%, 70%, 27%). Closest named color: firebrick. Contrast is 6.5:1 on white and 3.23:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ba1237
RGBrgb(186 18 55)
RGB (legacy)rgb(186, 18, 55)
RGB %rgb(73% 7% 22%)
HSLhsl(347 82% 40%)
HSV / HSBhsv(347, 90%, 73%)
HWBhwb(347 7% 27%)
CMYKcmyk(0%, 90%, 70%, 27%)
CIELAB (D50)lab(40.56 62.62 27.96)
LCHlch(40.56 68.58 24.06)
OKLaboklab(0.5058 0.1846 0.0611)
OKLCHoklch(0.5058 0.1944 18.31)
Decimal12194359

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 3.3
Closest web-safe color#cc0033
Hue347°
Saturation (HSL / HSV)82% / 90%
Lightness (HSL)40%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)28% / 22%
Relative luminance (WCAG)0.1115
Red / Green / Blue186 / 18 / 55

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.23: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.1 / -21.7 · As background with white / black text: Lc -85.3 / 23.9

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: #ba1237;
  --color-brand-oklch: oklch(50.58% 0.1944 18.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 18 55 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ba1237] text-[#ba1237] border-[#ba1237]">