#BA3499#BA3499

#BA3499 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 56.0% C 0.199 H 339.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3499
RGBrgb(186, 52, 153)
HSLhsl(315, 56%, 47%)
HSVhsv(315, 72%, 73%)
CMYKcmyk(0%, 72%, 17.7%, 27.1%)
CIE-LABlab(45.90, 62.78, -25.73)
CIE-LCHlch(45.90, 67.85, 337.72°)
OKLaboklab(56% 0.1868 -0.0695)
OKLCHoklch(56% 0.199 339.6)
XYZxyz(27.2282, 15.1976, 31.6303)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3499 #34BA55
analogous
#9834BA #BA3499 #BA3456
triadic
#BA3499 #99BA34 #3499BA
tetradic
#BA3499 #BA9834 #34BA55 #3456BA
square
#BA3499 #BA9834 #34BA55 #3456BA
split-complementary
#BA3499 #56BA34 #34BA98
monochromatic
#5A194A #8A2772 #BA3499 #D15AB4 #DE8ACA

Accessibility & contrast

On white

5.20
#BA3499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3499
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3499#FFFFFF#000000##FFFFFF
##BA34991.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#687496
Tritanopia (blue-blind)
#C53962
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3499;
/* rgb */ color: rgb(186, 52, 153);
/* oklch */ color: oklch(56.0% 0.199 339.6);
Tailwind
colors: {
  custom: {
    50: '#d378b7',
    500: '#ba3499',
    950: '#000000',
  },
}
SCSS
$custom: #ba3499;
$custom-light: #d378b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3499",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 314.776,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56,
    "c": 0.19929,
    "h": 339.6
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#BA3499
secondary
#81C893
accent
#E06D48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3499

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

Preview Lab → · Contrast checker → · Palette generator →

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