#BA389E#BA389E

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

Color values

HEX#BA389E
RGBrgb(186, 56, 158)
HSLhsl(313, 54%, 47%)
HSVhsv(313, 70%, 73%)
CMYKcmyk(0%, 69.9%, 15.1%, 27.1%)
CIE-LABlab(46.63, 62.09, -27.59)
CIE-LCHlch(46.63, 67.94, 336.04°)
OKLaboklab(56.6% 0.1833 -0.0748)
OKLCHoklch(56.6% 0.198 337.8)
XYZxyz(27.8360, 15.7386, 33.9130)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA389E #38BA54
analogous
#9538BA #BA389E #BA385D
triadic
#BA389E #9EBA38 #389EBA
tetradic
#BA389E #BA9538 #38BA54 #385DBA
square
#BA389E #BA9538 #38BA54 #385DBA
split-complementary
#BA389E #5DBA38 #38BA95
monochromatic
#5C1C4E #8B2A76 #BA389E #CF60B7 #DD8FCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA389E#FFFFFF#000000##FFFFFF
##BA389E1.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)
#3D62A1
Deuteranopia (green-blind)
#67769B
Tritanopia (blue-blind)
#C43E66
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba389e;
/* rgb */ color: rgb(186, 56, 158);
/* oklch */ color: oklch(56.6% 0.198 337.8);
Tailwind
colors: {
  custom: {
    50: '#d27abb',
    500: '#ba389e',
    950: '#000000',
  },
}
SCSS
$custom: #ba389e;
$custom-light: #d27abb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba389e",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 312.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.19794,
    "h": 337.8
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA389E

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

Preview Lab → · Contrast checker → · Palette generator →

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