#BA2A4A#BA2A4A

#BA2A4A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 13.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA2A4A
RGBrgb(186, 42, 74)
HSLhsl(347, 63%, 45%)
HSVhsv(347, 77%, 73%)
CMYKcmyk(0%, 77.4%, 60.2%, 27.1%)
CIE-LABlab(42.14, 57.84, 17.42)
CIE-LCHlch(42.14, 60.41, 16.76°)
OKLaboklab(52.4% 0.174 0.0428)
OKLCHoklch(52.4% 0.179 13.8)
XYZxyz(22.3160, 12.5927, 7.7328)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A4A #2ABA9A
analogous
#BA2A92 #BA2A4A #BA522A
triadic
#BA2A4A #4ABA2A #2A4ABA
tetradic
#BA2A4A #92BA2A #2ABA9A #522ABA
square
#BA2A4A #92BA2A #2ABA9A #522ABA
split-complementary
#BA2A4A #2ABA52 #2A92BA
monochromatic
#561322 #881F36 #BA2A4A #D64B6A #E27D93

Accessibility & contrast

On white

5.97
#BA2A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#BA2A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A4A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A4A#FFFFFF#000000##FFFFFF
##BA2A4A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52504A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2a4a;
/* rgb */ color: rgb(186, 42, 74);
/* oklch */ color: oklch(52.4% 0.179 13.8);
Tailwind
colors: {
  custom: {
    50: '#d6717c',
    500: '#ba2a4a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a4a;
$custom-light: #d6717c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a4a",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 346.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.17918,
    "h": 13.8
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#BA2A4A
secondary
#76CAB7
accent
#E6C242
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2A4A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA2A4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva