#BA3B99#BA3B99

#BA3B99 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.191 H 339.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA3B99
RGBrgb(186, 59, 153)
HSLhsl(316, 52%, 48%)
HSVhsv(316, 68%, 73%)
CMYKcmyk(0%, 68.3%, 17.7%, 27.1%)
CIE-LABlab(46.80, 60.26, -24.33)
CIE-LCHlch(46.80, 64.98, 338.01°)
OKLaboklab(56.65% 0.1792 -0.0656)
OKLCHoklch(56.65% 0.191 339.9)
XYZxyz(27.5641, 15.8695, 31.7423)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B99 #3BBA5C
analogous
#9C3BBA #BA3B99 #BA3B59
triadic
#BA3B99 #99BA3B #3B99BA
tetradic
#BA3B99 #BA9C3B #3BBA5C #3B59BA
square
#BA3B99 #BA9C3B #3BBA5C #3B59BA
split-complementary
#BA3B99 #59BA3B #3BBA9C
monochromatic
#5D1E4D #8C2C73 #BA3B99 #CE64B2 #DD93C9

Accessibility & contrast

On white

5.03
#BA3B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA3B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B99
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B99#FFFFFF#000000##FFFFFF
##BA3B991.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3b99;
/* rgb */ color: rgb(186, 59, 153);
/* oklch */ color: oklch(56.7% 0.191 339.9);
Tailwind
colors: {
  custom: {
    50: '#d27bb7',
    500: '#ba3b99',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b99;
$custom-light: #d27bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b99",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 153
  },
  "hsl": {
    "h": 315.591,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.1908,
    "h": 339.9
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#BA3B99
secondary
#89C899
accent
#DB724D
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3B99

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

Preview Lab → · Contrast checker → · Palette generator →

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