#BA389C#BA389C

#BA389C is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.197 H 338.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA389C
RGBrgb(186, 56, 156)
HSLhsl(314, 54%, 47%)
HSVhsv(314, 70%, 73%)
CMYKcmyk(0%, 69.9%, 16.1%, 27.1%)
CIE-LABlab(46.54, 61.80, -26.54)
CIE-LCHlch(46.54, 67.25, 336.76°)
OKLaboklab(56.51% 0.183 -0.0718)
OKLCHoklch(56.51% 0.197 338.6)
XYZxyz(27.6652, 15.6703, 33.0137)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA389C #38BA56
analogous
#9738BA #BA389C #BA385B
triadic
#BA389C #9CBA38 #389CBA
tetradic
#BA389C #BA9738 #38BA56 #385BBA
square
#BA389C #BA9738 #38BA56 #385BBA
split-complementary
#BA389C #5BBA38 #38BA97
monochromatic
#5C1C4D #8B2A75 #BA389C #CF60B6 #DD8FCB

Accessibility & contrast

On white

5.08
#BA389C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BA389C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA389C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA389C#FFFFFF#000000##FFFFFF
##BA389C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E619F
Deuteranopia (green-blind)
#687699
Tritanopia (blue-blind)
#C43D65
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba389c;
/* rgb */ color: rgb(186, 56, 156);
/* oklch */ color: oklch(56.5% 0.197 338.6);
Tailwind
colors: {
  custom: {
    50: '#d27ab9',
    500: '#ba389c',
    950: '#000000',
  },
}
SCSS
$custom: #ba389c;
$custom-light: #d27ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba389c",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 313.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56505,
    "c": 0.19656,
    "h": 338.6
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#BA389C
secondary
#86C895
accent
#DD6C4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA389C

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

Preview Lab → · Contrast checker → · Palette generator →

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