#BA29A1#BA29A1

#BA29A1 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.5% C 0.216 H 336.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BA29A1
RGBrgb(186, 41, 161)
HSLhsl(310, 64%, 45%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 78%, 13.4%, 27.1%)
CIE-LABlab(45.08, 67.32, -31.80)
CIE-LCHlch(45.08, 74.45, 334.72°)
OKLaboklab(55.53% 0.1979 -0.0867)
OKLCHoklch(55.53% 0.216 336.3)
XYZxyz(27.4761, 14.6008, 35.0825)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A1 #29BA42
analogous
#8B29BA #BA29A1 #BA2958
triadic
#BA29A1 #A1BA29 #29A1BA
tetradic
#BA29A1 #BA8B29 #29BA42 #2958BA
square
#BA29A1 #BA8B29 #29BA42 #2958BA
split-complementary
#BA29A1 #58BA29 #29BA8B
monochromatic
#56134A #881E76 #BA29A1 #D749BF #E27BD0

Accessibility & contrast

On white

5.36
#BA29A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA29A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29A1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A1#FFFFFF#000000##FFFFFF
##BA29A11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#C43463
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba29a1;
/* rgb */ color: rgb(186, 41, 161);
/* oklch */ color: oklch(55.5% 0.216 336.3);
Tailwind
colors: {
  custom: {
    50: '#d374bd',
    500: '#ba29a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a1;
$custom-light: #d374bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a1",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 310.345,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5553,
    "c": 0.21608,
    "h": 336.3
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#BA29A1
secondary
#75CA83
accent
#E75E41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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