#BA2A96#BA2A96

#BA2A96 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.1% C 0.208 H 340.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA2A96
RGBrgb(186, 42, 150)
HSLhsl(315, 63%, 45%)
HSVhsv(315, 77%, 73%)
CMYKcmyk(0%, 77.4%, 19.4%, 27.1%)
CIE-LABlab(44.66, 65.52, -25.86)
CIE-LCHlch(44.66, 70.44, 338.46°)
OKLaboklab(55.06% 0.1959 -0.0698)
OKLCHoklch(55.06% 0.208 340.4)
XYZxyz(26.5835, 14.2997, 30.2084)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A96 #2ABA4E
analogous
#962ABA #BA2A96 #BA2A4E
triadic
#BA2A96 #96BA2A #2A96BA
tetradic
#BA2A96 #BA962A #2ABA4E #2A4EBA
square
#BA2A96 #BA962A #2ABA4E #2A4EBA
split-complementary
#BA2A96 #4EBA2A #2ABA96
monochromatic
#561345 #881F6E #BA2A96 #D64BB3 #E27DC8

Accessibility & contrast

On white

5.44
#BA2A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA2A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A96
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A96#FFFFFF#000000##FFFFFF
##BA2A961.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B99
Deuteranopia (green-blind)
#657293
Tritanopia (blue-blind)
#C52F5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2a96;
/* rgb */ color: rgb(186, 42, 150);
/* oklch */ color: oklch(55.1% 0.208 340.4);
Tailwind
colors: {
  custom: {
    50: '#d373b5',
    500: '#ba2a96',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a96;
$custom-light: #d373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a96",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 315,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.20798,
    "h": 340.4
  },
  "luminance": 0.14297
}

Semantic roles & 50–950 ramp

primary
#BA2A96
secondary
#76CA8B
accent
#E66B42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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