#BA2A72#BA2A72

#BA2A72 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.189 H 355.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA2A72
RGBrgb(186, 42, 114)
HSLhsl(330, 63%, 45%)
HSVhsv(330, 77%, 73%)
CMYKcmyk(0%, 77.4%, 38.7%, 27.1%)
CIE-LABlab(43.23, 61.23, -6.03)
CIE-LCHlch(43.23, 61.53, 354.38°)
OKLaboklab(53.55% 0.1882 -0.0151)
OKLCHoklch(53.55% 0.189 355.4)
XYZxyz(24.1166, 13.3130, 17.2160)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A72 #2ABA72
analogous
#BA2ABA #BA2A72 #BA2A2A
triadic
#BA2A72 #72BA2A #2A72BA
tetradic
#BA2A72 #BABA2A #2ABA72 #2A2ABA
square
#BA2A72 #BABA2A #2ABA72 #2A2ABA
split-complementary
#BA2A72 #2ABA2A #2ABABA
monochromatic
#561335 #881F53 #BA2A72 #D64B91 #E27DAF

Accessibility & contrast

On white

5.73
#BA2A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A72
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A72#FFFFFF#000000##FFFFFF
##BA2A721.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#70706F
Tritanopia (blue-blind)
#C9164B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2a72;
/* rgb */ color: rgb(186, 42, 114);
/* oklch */ color: oklch(53.6% 0.189 355.4);
Tailwind
colors: {
  custom: {
    50: '#d4729a',
    500: '#ba2a72',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a72;
$custom-light: #d4729a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a72",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 330,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.18882,
    "h": 355.4
  },
  "luminance": 0.1331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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