#BA4589#BA4589

#BA4589 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.0% C 0.167 H 347.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4589
RGBrgb(186, 69, 137)
HSLhsl(325, 46%, 50%)
HSVhsv(325, 63%, 73%)
CMYKcmyk(0%, 62.9%, 26.3%, 27.1%)
CIE-LABlab(47.63, 53.99, -13.46)
CIE-LCHlch(47.63, 55.64, 346.00°)
OKLaboklab(57.05% 0.1634 -0.0354)
OKLCHoklch(57.05% 0.167 347.8)
XYZxyz(26.8942, 16.5042, 25.4313)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4589 #45BA76
analogous
#B045BA #BA4589 #BA454F
triadic
#BA4589 #89BA45 #4589BA
tetradic
#BA4589 #BAB045 #45BA76 #454FBA
square
#BA4589 #BAB045 #45BA76 #454FBA
split-complementary
#BA4589 #4FBA45 #45BAB0
monochromatic
#612447 #8D3468 #BA4589 #CB72A5 #DB9EC2

Accessibility & contrast

On white

4.88
#BA4589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA4589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4589
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4589#FFFFFF#000000##FFFFFF
##BA45891.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53648B
Deuteranopia (green-blind)
#747886
Tritanopia (blue-blind)
#C64261
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4589;
/* rgb */ color: rgb(186, 69, 137);
/* oklch */ color: oklch(57.0% 0.167 347.8);
Tailwind
colors: {
  custom: {
    50: '#d280ab',
    500: '#ba4589',
    950: '#000000',
  },
}
SCSS
$custom: #ba4589;
$custom-light: #d280ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4589",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 325.128,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.16714,
    "h": 347.8
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#BA4589
secondary
#93C8A9
accent
#D68952
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA4589

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

Preview Lab → · Contrast checker → · Palette generator →

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