#BA3899#BA3899

#BA3899 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.195 H 339.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA3899
RGBrgb(186, 56, 153)
HSLhsl(315, 54%, 47%)
HSVhsv(315, 70%, 73%)
CMYKcmyk(0%, 69.9%, 17.7%, 27.1%)
CIE-LABlab(46.41, 61.37, -24.95)
CIE-LCHlch(46.41, 66.25, 337.88°)
OKLaboklab(56.36% 0.1825 -0.0673)
OKLCHoklch(56.36% 0.195 339.7)
XYZxyz(27.4143, 15.5700, 31.6923)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3899 #38BA59
analogous
#9A38BA #BA3899 #BA3858
triadic
#BA3899 #99BA38 #3899BA
tetradic
#BA3899 #BA9A38 #38BA59 #3858BA
square
#BA3899 #BA9A38 #38BA59 #3858BA
split-complementary
#BA3899 #58BA38 #38BA9A
monochromatic
#5C1C4C #8B2A72 #BA3899 #CF60B3 #DD8FC9

Accessibility & contrast

On white

5.11
#BA3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BA3899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3899
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3899#FFFFFF#000000##FFFFFF
##BA38991.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619C
Deuteranopia (green-blind)
#697596
Tritanopia (blue-blind)
#C53C64
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba3899;
/* rgb */ color: rgb(186, 56, 153);
/* oklch */ color: oklch(56.4% 0.195 339.7);
Tailwind
colors: {
  custom: {
    50: '#d279b7',
    500: '#ba3899',
    950: '#000000',
  },
}
SCSS
$custom: #ba3899;
$custom-light: #d279b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3899",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 315.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.19455,
    "h": 339.7
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#BA3899
secondary
#86C897
accent
#DD704B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3899

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

Preview Lab → · Contrast checker → · Palette generator →

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