#BA2A71#BA2A71

#BA2A71 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 355.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA2A71
RGBrgb(186, 42, 113)
HSLhsl(330, 63%, 45%)
HSVhsv(330, 77%, 73%)
CMYKcmyk(0%, 77.4%, 39.2%, 27.1%)
CIE-LABlab(43.20, 61.13, -5.46)
CIE-LCHlch(43.20, 61.37, 354.90°)
OKLaboklab(53.52% 0.1879 -0.0136)
OKLCHoklch(53.52% 0.188 355.9)
XYZxyz(24.0600, 13.2903, 16.9179)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A71 #2ABA73
analogous
#BA2AB9 #BA2A71 #BA2B2A
triadic
#BA2A71 #71BA2A #2A71BA
tetradic
#BA2A71 #B9BA2A #2ABA73 #2B2ABA
square
#BA2A71 #B9BA2A #2ABA73 #2B2ABA
split-complementary
#BA2A71 #2ABA2B #2AB9BA
monochromatic
#561334 #881F53 #BA2A71 #D64B90 #E27DAE

Accessibility & contrast

On white

5.74
#BA2A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BA2A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A71
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A71#FFFFFF#000000##FFFFFF
##BA2A711.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#70706E
Tritanopia (blue-blind)
#C9154A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a71;
/* rgb */ color: rgb(186, 42, 113);
/* oklch */ color: oklch(53.5% 0.188 355.9);
Tailwind
colors: {
  custom: {
    50: '#d47299',
    500: '#ba2a71',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a71;
$custom-light: #d47299;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a71",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 330.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.1884,
    "h": 355.9
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#BA2A71
secondary
#76CAA0
accent
#E69542
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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