#BA299B#BA299B

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

Color values

HEX#BA299B
RGBrgb(186, 41, 155)
HSLhsl(313, 64%, 45%)
HSVhsv(313, 78%, 73%)
CMYKcmyk(0%, 78%, 16.7%, 27.1%)
CIE-LABlab(44.79, 66.48, -28.66)
CIE-LCHlch(44.79, 72.39, 336.68°)
OKLaboklab(55.23% 0.1974 -0.0778)
OKLCHoklch(55.23% 0.212 338.5)
XYZxyz(26.9597, 14.3942, 32.3625)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA299B #29BA48
analogous
#9129BA #BA299B #BA2952
triadic
#BA299B #9BBA29 #299BBA
tetradic
#BA299B #BA9129 #29BA48 #2952BA
square
#BA299B #BA9129 #29BA48 #2952BA
split-complementary
#BA299B #52BA29 #29BA91
monochromatic
#561347 #881E71 #BA299B #D749B9 #E27BCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA299B#FFFFFF#000000##FFFFFF
##BA299B1.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)
#315C9E
Deuteranopia (green-blind)
#637298
Tritanopia (blue-blind)
#C53160
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba299b;
/* rgb */ color: rgb(186, 41, 155);
/* oklch */ color: oklch(55.2% 0.212 338.5);
Tailwind
colors: {
  custom: {
    50: '#d373b9',
    500: '#ba299b',
    950: '#000000',
  },
}
SCSS
$custom: #ba299b;
$custom-light: #d373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba299b",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 312.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.21214,
    "h": 338.5
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#BA299B
secondary
#75CA87
accent
#E76441
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA299B

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

Preview Lab → · Contrast checker → · Palette generator →

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