#BA389F#BA389F

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

Color values

HEX#BA389F
RGBrgb(186, 56, 159)
HSLhsl(312, 54%, 47%)
HSVhsv(312, 70%, 73%)
CMYKcmyk(0%, 69.9%, 14.5%, 27.1%)
CIE-LABlab(46.68, 62.23, -28.11)
CIE-LCHlch(46.68, 68.29, 335.69°)
OKLaboklab(56.65% 0.1834 -0.0763)
OKLCHoklch(56.65% 0.199 337.4)
XYZxyz(27.9224, 15.7732, 34.3681)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA389F #38BA53
analogous
#9438BA #BA389F #BA385E
triadic
#BA389F #9FBA38 #389FBA
tetradic
#BA389F #BA9438 #38BA53 #385EBA
square
#BA389F #BA9438 #38BA53 #385EBA
split-complementary
#BA389F #5EBA38 #38BA94
monochromatic
#5C1C4F #8B2A77 #BA389F #CF60B8 #DD8FCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA389F#FFFFFF#000000##FFFFFF
##BA389F1.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)
#3C62A2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#C43F67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba389f;
/* rgb */ color: rgb(186, 56, 159);
/* oklch */ color: oklch(56.6% 0.199 337.4);
Tailwind
colors: {
  custom: {
    50: '#d27abb',
    500: '#ba389f',
    950: '#000000',
  },
}
SCSS
$custom: #ba389f;
$custom-light: #d27abb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba389f",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 312.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.19863,
    "h": 337.4
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#BA389F
secondary
#86C894
accent
#DD694B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA389F

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

Preview Lab → · Contrast checker → · Palette generator →

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