#BA289A#BA289A

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

Color values

HEX#BA289A
RGBrgb(186, 40, 154)
HSLhsl(313, 65%, 44%)
HSVhsv(313, 78%, 73%)
CMYKcmyk(0%, 78.5%, 17.2%, 27.1%)
CIE-LABlab(44.65, 66.62, -28.28)
CIE-LCHlch(44.65, 72.37, 337.00°)
OKLaboklab(55.11% 0.1981 -0.0767)
OKLCHoklch(55.11% 0.212 338.8)
XYZxyz(26.8419, 14.2925, 31.9107)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA289A #28BA48
analogous
#9128BA #BA289A #BA2851
triadic
#BA289A #9ABA28 #289ABA
tetradic
#BA289A #BA9128 #28BA48 #2851BA
square
#BA289A #BA9128 #28BA48 #2851BA
split-complementary
#BA289A #51BA28 #28BA91
monochromatic
#551247 #881D70 #BA289A #D848B8 #E27ACC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA289A#FFFFFF#000000##FFFFFF
##BA289A1.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)
#315B9D
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#C52F5F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba289a;
/* rgb */ color: rgb(186, 40, 154);
/* oklch */ color: oklch(55.1% 0.212 338.8);
Tailwind
colors: {
  custom: {
    50: '#d373b8',
    500: '#ba289a',
    950: '#000000',
  },
}
SCSS
$custom: #ba289a;
$custom-light: #d373b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba289a",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 313.151,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.21242,
    "h": 338.8
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#BA289A
secondary
#73CA86
accent
#E86540
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA289A

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

Preview Lab → · Contrast checker → · Palette generator →

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