#BA3889#BA3889

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

Color values

HEX#BA3889
RGBrgb(186, 56, 137)
HSLhsl(323, 54%, 47%)
HSVhsv(323, 70%, 73%)
CMYKcmyk(0%, 69.9%, 26.3%, 27.1%)
CIE-LABlab(45.74, 59.21, -16.34)
CIE-LCHlch(45.74, 61.42, 344.57°)
OKLaboklab(55.66% 0.1795 -0.0432)
OKLCHoklch(55.66% 0.185 346.5)
XYZxyz(26.1803, 15.0764, 25.1933)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3889 #38BA69
analogous
#AA38BA #BA3889 #BA3848
triadic
#BA3889 #89BA38 #3889BA
tetradic
#BA3889 #BAAA38 #38BA69 #3848BA
square
#BA3889 #BAAA38 #38BA69 #3848BA
split-complementary
#BA3889 #48BA38 #38BAAA
monochromatic
#5C1C44 #8B2A66 #BA3889 #CF60A5 #DD8FC0

Accessibility & contrast

On white

5.23
#BA3889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA3889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3889
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3889#FFFFFF#000000##FFFFFF
##BA38891.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3889;
/* rgb */ color: rgb(186, 56, 137);
/* oklch */ color: oklch(55.7% 0.185 346.5);
Tailwind
colors: {
  custom: {
    50: '#d379ab',
    500: '#ba3889',
    950: '#000000',
  },
}
SCSS
$custom: #ba3889;
$custom-light: #d379ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3889",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 322.615,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.18458,
    "h": 346.5
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#BA3889
secondary
#86C89F
accent
#DD824B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3889

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

Preview Lab → · Contrast checker → · Palette generator →

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