#BA299A#BA299A

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

Color values

HEX#BA299A
RGBrgb(186, 41, 154)
HSLhsl(313, 64%, 45%)
HSVhsv(313, 78%, 73%)
CMYKcmyk(0%, 78%, 17.2%, 27.1%)
CIE-LABlab(44.75, 66.34, -28.13)
CIE-LCHlch(44.75, 72.06, 337.02°)
OKLaboklab(55.18% 0.1973 -0.0763)
OKLCHoklch(55.18% 0.211 338.9)
XYZxyz(26.8761, 14.3607, 31.9221)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA299A #29BA49
analogous
#9129BA #BA299A #BA2952
triadic
#BA299A #9ABA29 #299ABA
tetradic
#BA299A #BA9129 #29BA49 #2952BA
square
#BA299A #BA9129 #29BA49 #2952BA
split-complementary
#BA299A #52BA29 #29BA91
monochromatic
#561347 #881E70 #BA299A #D749B8 #E27BCB

Accessibility & contrast

On white

5.42
#BA299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA299A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA299A#FFFFFF#000000##FFFFFF
##BA299A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#C53060
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba299a;
/* rgb */ color: rgb(186, 41, 154);
/* oklch */ color: oklch(55.2% 0.211 338.9);
Tailwind
colors: {
  custom: {
    50: '#d373b8',
    500: '#ba299a',
    950: '#000000',
  },
}
SCSS
$custom: #ba299a;
$custom-light: #d373b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba299a",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 313.241,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.21149,
    "h": 338.9
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#BA299A
secondary
#75CA88
accent
#E76641
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA299A

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

Preview Lab → · Contrast checker → · Palette generator →

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