#BA3789#BA3789

#BA3789 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.186 H 346.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3789
RGBrgb(186, 55, 137)
HSLhsl(322, 54%, 47%)
HSVhsv(322, 70%, 73%)
CMYKcmyk(0%, 70.4%, 26.3%, 27.1%)
CIE-LABlab(45.61, 59.58, -16.54)
CIE-LCHlch(45.61, 61.83, 344.49°)
OKLaboklab(55.57% 0.1806 -0.0438)
OKLCHoklch(55.57% 0.186 346.4)
XYZxyz(26.1324, 14.9804, 25.1773)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3789 #37BA68
analogous
#AA37BA #BA3789 #BA3747
triadic
#BA3789 #89BA37 #3789BA
tetradic
#BA3789 #BAAA37 #37BA68 #3747BA
square
#BA3789 #BAAA37 #37BA68 #3747BA
split-complementary
#BA3789 #47BA37 #37BAAA
monochromatic
#5C1B43 #8B2966 #BA3789 #D05FA5 #DE8EC0

Accessibility & contrast

On white

5.26
#BA3789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3789
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3789#FFFFFF#000000##FFFFFF
##BA37891.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8B
Deuteranopia (green-blind)
#6E7486
Tritanopia (blue-blind)
#C7345B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3789;
/* rgb */ color: rgb(186, 55, 137);
/* oklch */ color: oklch(55.6% 0.186 346.4);
Tailwind
colors: {
  custom: {
    50: '#d379ab',
    500: '#ba3789',
    950: '#000000',
  },
}
SCSS
$custom: #ba3789;
$custom-light: #d379ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3789",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 322.443,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55565,
    "c": 0.18581,
    "h": 346.4
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#BA3789
secondary
#85C89E
accent
#DE814A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3789

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

Preview Lab → · Contrast checker → · Palette generator →

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