#BA2A89#BA2A89

#BA2A89 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.5% C 0.200 H 345.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BA2A89
RGBrgb(186, 42, 137)
HSLhsl(320, 63%, 45%)
HSVhsv(320, 77%, 73%)
CMYKcmyk(0%, 77.4%, 26.3%, 27.1%)
CIE-LABlab(44.09, 63.85, -18.85)
CIE-LCHlch(44.09, 66.57, 343.55°)
OKLaboklab(54.46% 0.1938 -0.0501)
OKLCHoklch(54.46% 0.2 345.5)
XYZxyz(25.5942, 13.9040, 24.9979)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A89 #2ABA5B
analogous
#A32ABA #BA2A89 #BA2A41
triadic
#BA2A89 #89BA2A #2A89BA
tetradic
#BA2A89 #BAA32A #2ABA5B #2A41BA
square
#BA2A89 #BAA32A #2ABA5B #2A41BA
split-complementary
#BA2A89 #41BA2A #2ABAA3
monochromatic
#56133F #881F64 #BA2A89 #D64BA7 #E27DBF

Accessibility & contrast

On white

5.56
#BA2A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#BA2A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A89
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A89#FFFFFF#000000##FFFFFF
##BA2A891.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#6A7186
Tritanopia (blue-blind)
#C72757
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2a89;
/* rgb */ color: rgb(186, 42, 137);
/* oklch */ color: oklch(54.5% 0.200 345.5);
Tailwind
colors: {
  custom: {
    50: '#d373ab',
    500: '#ba2a89',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a89;
$custom-light: #d373ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a89",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 320.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.20019,
    "h": 345.5
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#BA2A89
secondary
#76CA92
accent
#E67A42
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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