#BA4089#BA4089

#BA4089 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.5% C 0.174 H 347.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA4089
RGBrgb(186, 64, 137)
HSLhsl(324, 49%, 49%)
HSVhsv(324, 66%, 73%)
CMYKcmyk(0%, 65.6%, 26.3%, 27.1%)
CIE-LABlab(46.86, 56.09, -14.63)
CIE-LCHlch(46.86, 57.97, 345.39°)
OKLaboklab(56.49% 0.1698 -0.0385)
OKLCHoklch(56.49% 0.174 347.2)
XYZxyz(26.5995, 15.9147, 25.3331)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4089 #40BA71
analogous
#AE40BA #BA4089 #BA404C
triadic
#BA4089 #89BA40 #4089BA
tetradic
#BA4089 #BAAE40 #40BA71 #404CBA
square
#BA4089 #BAAE40 #40BA71 #404CBA
split-complementary
#BA4089 #4CBA40 #40BAAE
monochromatic
#5F2146 #8C3067 #BA4089 #CC6BA5 #DC99C1

Accessibility & contrast

On white

5.02
#BA4089 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4089 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4089
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4089#FFFFFF#000000##FFFFFF
##BA40891.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628B
Deuteranopia (green-blind)
#727786
Tritanopia (blue-blind)
#C63D5F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4089;
/* rgb */ color: rgb(186, 64, 137);
/* oklch */ color: oklch(56.5% 0.174 347.2);
Tailwind
colors: {
  custom: {
    50: '#d27dab',
    500: '#ba4089',
    950: '#000000',
  },
}
SCSS
$custom: #ba4089;
$custom-light: #d27dab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4089",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 324.098,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.17414,
    "h": 347.2
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#BA4089
secondary
#8EC8A5
accent
#D8864F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4089

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

Preview Lab → · Contrast checker → · Palette generator →

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