#BA2A99#BA2A99

#BA2A99 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.210 H 339.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA2A99
RGBrgb(186, 42, 153)
HSLhsl(314, 63%, 45%)
HSVhsv(314, 77%, 73%)
CMYKcmyk(0%, 77.4%, 17.7%, 27.1%)
CIE-LABlab(44.80, 65.93, -27.45)
CIE-LCHlch(44.80, 71.41, 337.40°)
OKLaboklab(55.2% 0.1963 -0.0743)
OKLCHoklch(55.2% 0.21 339.3)
XYZxyz(26.8282, 14.3976, 31.4969)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A99 #2ABA4B
analogous
#932ABA #BA2A99 #BA2A51
triadic
#BA2A99 #99BA2A #2A99BA
tetradic
#BA2A99 #BA932A #2ABA4B #2A51BA
square
#BA2A99 #BA932A #2ABA4B #2A51BA
split-complementary
#BA2A99 #51BA2A #2ABA93
monochromatic
#561347 #881F70 #BA2A99 #D64BB6 #E27DCB

Accessibility & contrast

On white

5.41
#BA2A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA2A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A99
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A99#FFFFFF#000000##FFFFFF
##BA2A991.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#647296
Tritanopia (blue-blind)
#C5305F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2a99;
/* rgb */ color: rgb(186, 42, 153);
/* oklch */ color: oklch(55.2% 0.210 339.3);
Tailwind
colors: {
  custom: {
    50: '#d374b7',
    500: '#ba2a99',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a99;
$custom-light: #d374b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a99",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 313.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.20989,
    "h": 339.3
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#BA2A99
secondary
#76CA89
accent
#E66742
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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