#BA349D#BA349D

#BA349D is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.202 H 338.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA349D
RGBrgb(186, 52, 157)
HSLhsl(313, 56%, 47%)
HSVhsv(313, 72%, 73%)
CMYKcmyk(0%, 72%, 15.6%, 27.1%)
CIE-LABlab(46.09, 63.35, -27.84)
CIE-LCHlch(46.09, 69.19, 336.28°)
OKLaboklab(56.19% 0.1873 -0.0755)
OKLCHoklch(56.19% 0.202 338)
XYZxyz(27.5641, 15.3320, 33.3994)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA349D #34BA51
analogous
#9434BA #BA349D #BA345A
triadic
#BA349D #9DBA34 #349DBA
tetradic
#BA349D #BA9434 #34BA51 #345ABA
square
#BA349D #BA9434 #34BA51 #345ABA
split-complementary
#BA349D #5ABA34 #34BA94
monochromatic
#5A194C #8A2775 #BA349D #D15AB7 #DE8ACC

Accessibility & contrast

On white

5.17
#BA349D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA349D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA349D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA349D#FFFFFF#000000##FFFFFF
##BA349D1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#66759A
Tritanopia (blue-blind)
#C43B64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba349d;
/* rgb */ color: rgb(186, 52, 157);
/* oklch */ color: oklch(56.2% 0.202 338.0);
Tailwind
colors: {
  custom: {
    50: '#d378ba',
    500: '#ba349d',
    950: '#000000',
  },
}
SCSS
$custom: #ba349d;
$custom-light: #d378ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba349d",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 312.985,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.20197,
    "h": 338
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#BA349D
secondary
#81C891
accent
#E06948
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA349D

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

Preview Lab → · Contrast checker → · Palette generator →

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