#BA34A3#BA34A3

#BA34A3 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.206 H 335.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA34A3
RGBrgb(186, 52, 163)
HSLhsl(310, 56%, 47%)
HSVhsv(310, 72%, 73%)
CMYKcmyk(0%, 72%, 12.4%, 27.1%)
CIE-LABlab(46.37, 64.22, -30.98)
CIE-LCHlch(46.37, 71.30, 334.25°)
OKLaboklab(56.49% 0.188 -0.0845)
OKLCHoklch(56.49% 0.206 335.8)
XYZxyz(28.0889, 15.5419, 36.1638)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA34A3 #34BA4B
analogous
#8E34BA #BA34A3 #BA3460
triadic
#BA34A3 #A3BA34 #34A3BA
tetradic
#BA34A3 #BA8E34 #34BA4B #3460BA
square
#BA34A3 #BA8E34 #34BA4B #3460BA
split-complementary
#BA34A3 #60BA34 #34BA8E
monochromatic
#5A194F #8A2779 #BA34A3 #D15ABD #DE8AD0

Accessibility & contrast

On white

5.11
#BA34A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA34A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA34A3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA34A3#FFFFFF#000000##FFFFFF
##BA34A31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#C33E68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba34a3;
/* rgb */ color: rgb(186, 52, 163);
/* oklch */ color: oklch(56.5% 0.206 335.8);
Tailwind
colors: {
  custom: {
    50: '#d278be',
    500: '#ba34a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba34a3;
$custom-light: #d278be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba34a3",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 163
  },
  "hsl": {
    "h": 310.299,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.2061,
    "h": 335.8
  },
  "luminance": 0.15539
}

Semantic roles & 50–950 ramp

primary
#BA34A3
secondary
#81C88E
accent
#E06248
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA34A3

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

Preview Lab → · Contrast checker → · Palette generator →

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