#BA2A4C#BA2A4C

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

Color values

HEX#BA2A4C
RGBrgb(186, 42, 76)
HSLhsl(346, 63%, 45%)
HSVhsv(346, 77%, 73%)
CMYKcmyk(0%, 77.4%, 59.1%, 27.1%)
CIE-LABlab(42.19, 57.97, 16.23)
CIE-LCHlch(42.19, 60.20, 15.64°)
OKLaboklab(52.44% 0.1748 0.0401)
OKLCHoklch(52.44% 0.179 12.9)
XYZxyz(22.3844, 12.6201, 8.0933)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A4C #2ABA98
analogous
#BA2A94 #BA2A4C #BA502A
triadic
#BA2A4C #4CBA2A #2A4CBA
tetradic
#BA2A4C #94BA2A #2ABA98 #502ABA
square
#BA2A4C #94BA2A #2ABA98 #502ABA
split-complementary
#BA2A4C #2ABA50 #2A94BA
monochromatic
#561323 #881F38 #BA2A4C #D64B6C #E27D95

Accessibility & contrast

On white

5.96
#BA2A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A4C
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A4C#FFFFFF#000000##FFFFFF
##BA2A4C1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514C
Deuteranopia (green-blind)
#776E48
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a4c;
/* rgb */ color: rgb(186, 42, 76);
/* oklch */ color: oklch(52.4% 0.179 12.9);
Tailwind
colors: {
  custom: {
    50: '#d6717d',
    500: '#ba2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a4c;
$custom-light: #d6717d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a4c",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 345.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.17932,
    "h": 12.9
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#BA2A4C
secondary
#76CAB6
accent
#E6BF42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #BA2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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