#BA2A97#BA2A97

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

Color values

HEX#BA2A97
RGBrgb(186, 42, 151)
HSLhsl(315, 63%, 45%)
HSVhsv(315, 77%, 73%)
CMYKcmyk(0%, 77.4%, 18.8%, 27.1%)
CIE-LABlab(44.71, 65.65, -26.39)
CIE-LCHlch(44.71, 70.76, 338.10°)
OKLaboklab(55.1% 0.1961 -0.0713)
OKLCHoklch(55.1% 0.209 340)
XYZxyz(26.6644, 14.3321, 30.6343)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A97 #2ABA4D
analogous
#952ABA #BA2A97 #BA2A4F
triadic
#BA2A97 #97BA2A #2A97BA
tetradic
#BA2A97 #BA952A #2ABA4D #2A4FBA
square
#BA2A97 #BA952A #2ABA4D #2A4FBA
split-complementary
#BA2A97 #4FBA2A #2ABA95
monochromatic
#561346 #881F6E #BA2A97 #D64BB4 #E27DC9

Accessibility & contrast

On white

5.43
#BA2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A97
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A97#FFFFFF#000000##FFFFFF
##BA2A971.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#657294
Tritanopia (blue-blind)
#C52F5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2a97;
/* rgb */ color: rgb(186, 42, 151);
/* oklch */ color: oklch(55.1% 0.209 340.0);
Tailwind
colors: {
  custom: {
    50: '#d374b6',
    500: '#ba2a97',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a97;
$custom-light: #d374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a97",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 314.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.20862,
    "h": 340
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#BA2A97
secondary
#76CA8A
accent
#E66A42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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