#BA34A0#BA34A0

#BA34A0 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.204 H 336.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA34A0
RGBrgb(186, 52, 160)
HSLhsl(312, 56%, 47%)
HSVhsv(312, 72%, 73%)
CMYKcmyk(0%, 72%, 14%, 27.1%)
CIE-LABlab(46.23, 63.78, -29.41)
CIE-LCHlch(46.23, 70.23, 335.24°)
OKLaboklab(56.34% 0.1877 -0.08)
OKLCHoklch(56.34% 0.204 336.9)
XYZxyz(27.8233, 15.4357, 34.7649)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA34A0 #34BA4E
analogous
#9134BA #BA34A0 #BA345D
triadic
#BA34A0 #A0BA34 #34A0BA
tetradic
#BA34A0 #BA9134 #34BA4E #345DBA
square
#BA34A0 #BA9134 #34BA4E #345DBA
split-complementary
#BA34A0 #5DBA34 #34BA91
monochromatic
#5A194E #8A2777 #BA34A0 #D15ABA #DE8ACE

Accessibility & contrast

On white

5.14
#BA34A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA34A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA34A0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA34A0#FFFFFF#000000##FFFFFF
##BA34A01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#C43C66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba34a0;
/* rgb */ color: rgb(186, 52, 160);
/* oklch */ color: oklch(56.3% 0.204 336.9);
Tailwind
colors: {
  custom: {
    50: '#d278bc',
    500: '#ba34a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba34a0;
$custom-light: #d278bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba34a0",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 160
  },
  "hsl": {
    "h": 311.642,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.20402,
    "h": 336.9
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#BA34A0
secondary
#81C88F
accent
#E06648
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA34A0

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

Preview Lab → · Contrast checker → · Palette generator →

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