#BA489A#BA489A

#BA489A is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.174 H 340.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA489A
RGBrgb(186, 72, 154)
HSLhsl(317, 45%, 51%)
HSVhsv(317, 61%, 73%)
CMYKcmyk(0%, 61.3%, 17.2%, 27.1%)
CIE-LABlab(48.77, 55.08, -21.89)
CIE-LCHlch(48.77, 59.27, 338.33°)
OKLaboklab(58.11% 0.1633 -0.0588)
OKLCHoklch(58.11% 0.174 340.2)
XYZxyz(28.4004, 17.4094, 32.4302)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489A #48BA68
analogous
#A148BA #BA489A #BA4861
triadic
#BA489A #9ABA48 #489ABA
tetradic
#BA489A #BAA148 #48BA68 #4861BA
square
#BA489A #BAA148 #48BA68 #4861BA
split-complementary
#BA489A #61BA48 #48BAA1
monochromatic
#622551 #8F3676 #BA489A #CB74B3 #DCA1CB

Accessibility & contrast

On white

4.69
#BA489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA489A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA489A#FFFFFF#000000##FFFFFF
##BA489A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689D
Deuteranopia (green-blind)
#707B97
Tritanopia (blue-blind)
#C44B6A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489a;
/* rgb */ color: rgb(186, 72, 154);
/* oklch */ color: oklch(58.1% 0.174 340.2);
Tailwind
colors: {
  custom: {
    50: '#d282b8',
    500: '#ba489a',
    950: '#000000',
  },
}
SCSS
$custom: #ba489a;
$custom-light: #d282b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489a",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 316.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.17361,
    "h": 340.2
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#BA489A
secondary
#96C8A4
accent
#D57753
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA489A

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

Preview Lab → · Contrast checker → · Palette generator →

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