#BA3A99#BA3A99

#BA3A99 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.6% C 0.192 H 339.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA3A99
RGBrgb(186, 58, 153)
HSLhsl(315, 52%, 48%)
HSVhsv(315, 69%, 73%)
CMYKcmyk(0%, 68.8%, 17.7%, 27.1%)
CIE-LABlab(46.67, 60.63, -24.54)
CIE-LCHlch(46.67, 65.41, 337.96°)
OKLaboklab(56.56% 0.1803 -0.0662)
OKLCHoklch(56.56% 0.192 339.8)
XYZxyz(27.5132, 15.7677, 31.7253)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A99 #3ABA5B
analogous
#9B3ABA #BA3A99 #BA3A59
triadic
#BA3A99 #99BA3A #3A99BA
tetradic
#BA3A99 #BA9B3A #3ABA5B #3A59BA
square
#BA3A99 #BA9B3A #3ABA5B #3A59BA
split-complementary
#BA3A99 #59BA3A #3ABA9B
monochromatic
#5D1D4C #8B2B73 #BA3A99 #CE63B3 #DD92C9

Accessibility & contrast

On white

5.06
#BA3A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA3A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A99
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A99#FFFFFF#000000##FFFFFF
##BA3A991.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#6A7696
Tritanopia (blue-blind)
#C53E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3a99;
/* rgb */ color: rgb(186, 58, 153);
/* oklch */ color: oklch(56.6% 0.192 339.8);
Tailwind
colors: {
  custom: {
    50: '#d27ab7',
    500: '#ba3a99',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a99;
$custom-light: #d27ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a99",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 315.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56556,
    "c": 0.19206,
    "h": 339.8
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#BA3A99
secondary
#88C898
accent
#DC714C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3A99

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

Preview Lab → · Contrast checker → · Palette generator →

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