#BA349E#BA349E

#BA349E is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.2% C 0.203 H 337.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA349E
RGBrgb(186, 52, 158)
HSLhsl(313, 56%, 47%)
HSVhsv(313, 72%, 73%)
CMYKcmyk(0%, 72%, 15.1%, 27.1%)
CIE-LABlab(46.13, 63.49, -28.36)
CIE-LCHlch(46.13, 69.54, 335.93°)
OKLaboklab(56.24% 0.1875 -0.077)
OKLCHoklch(56.24% 0.203 337.7)
XYZxyz(27.6498, 15.3663, 33.8509)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA349E #34BA50
analogous
#9334BA #BA349E #BA345B
triadic
#BA349E #9EBA34 #349EBA
tetradic
#BA349E #BA9334 #34BA50 #345BBA
square
#BA349E #BA9334 #34BA50 #345BBA
split-complementary
#BA349E #5BBA34 #34BA93
monochromatic
#5A194D #8A2775 #BA349E #D15AB8 #DE8ACD

Accessibility & contrast

On white

5.16
#BA349E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA349E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA349E#FFFFFF#000000##FFFFFF
##BA349E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A1
Deuteranopia (green-blind)
#66759B
Tritanopia (blue-blind)
#C43B65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba349e;
/* rgb */ color: rgb(186, 52, 158);
/* oklch */ color: oklch(56.2% 0.203 337.7);
Tailwind
colors: {
  custom: {
    50: '#d378bb',
    500: '#ba349e',
    950: '#000000',
  },
}
SCSS
$custom: #ba349e;
$custom-light: #d378bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba349e",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 312.537,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5624,
    "c": 0.20265,
    "h": 337.7
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#BA349E
secondary
#81C890
accent
#E06848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA349E

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

Preview Lab → · Contrast checker → · Palette generator →

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