#BA3988#BA3988

#BA3988 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.183 H 347.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA3988
RGBrgb(186, 57, 136)
HSLhsl(323, 53%, 48%)
HSVhsv(323, 69%, 73%)
CMYKcmyk(0%, 69.4%, 26.9%, 27.1%)
CIE-LABlab(45.83, 58.71, -15.59)
CIE-LCHlch(45.83, 60.74, 345.13°)
OKLaboklab(55.72% 0.1781 -0.0411)
OKLCHoklch(55.72% 0.183 347)
XYZxyz(26.1579, 15.1457, 24.8336)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3988 #39BA6B
analogous
#AB39BA #BA3988 #BA3947
triadic
#BA3988 #88BA39 #3988BA
tetradic
#BA3988 #BAAB39 #39BA6B #3947BA
square
#BA3988 #BAAB39 #39BA6B #3947BA
split-complementary
#BA3988 #47BA39 #39BAAB
monochromatic
#5C1C43 #8B2B66 #BA3988 #CF61A4 #DD90BF

Accessibility & contrast

On white

5.21
#BA3988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA3988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3988
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3988#FFFFFF#000000##FFFFFF
##BA39881.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E8A
Deuteranopia (green-blind)
#6F7585
Tritanopia (blue-blind)
#C7355B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3988;
/* rgb */ color: rgb(186, 57, 136);
/* oklch */ color: oklch(55.7% 0.183 347.0);
Tailwind
colors: {
  custom: {
    50: '#d379aa',
    500: '#ba3988',
    950: '#000000',
  },
}
SCSS
$custom: #ba3988;
$custom-light: #d379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3988",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 323.256,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.18275,
    "h": 347
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#BA3988
secondary
#87C8A0
accent
#DC844B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3988

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

Preview Lab → · Contrast checker → · Palette generator →

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