#BA489B#BA489B

#BA489B is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.174 H 339.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA489B
RGBrgb(186, 72, 155)
HSLhsl(316, 45%, 51%)
HSVhsv(316, 61%, 73%)
CMYKcmyk(0%, 61.3%, 16.7%, 27.1%)
CIE-LABlab(48.81, 55.23, -22.42)
CIE-LCHlch(48.81, 59.61, 337.91°)
OKLaboklab(58.15% 0.1636 -0.0603)
OKLCHoklch(58.15% 0.174 339.7)
XYZxyz(28.4840, 17.4428, 32.8706)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489B #48BA67
analogous
#A048BA #BA489B #BA4862
triadic
#BA489B #9BBA48 #489BBA
tetradic
#BA489B #BAA048 #48BA67 #4862BA
square
#BA489B #BAA048 #48BA67 #4862BA
split-complementary
#BA489B #62BA48 #48BAA0
monochromatic
#622552 #8F3677 #BA489B #CB74B3 #DCA1CC

Accessibility & contrast

On white

4.68
#BA489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA489B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA489B#FFFFFF#000000##FFFFFF
##BA489B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E689E
Deuteranopia (green-blind)
#707B98
Tritanopia (blue-blind)
#C44B6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489b;
/* rgb */ color: rgb(186, 72, 155);
/* oklch */ color: oklch(58.2% 0.174 339.7);
Tailwind
colors: {
  custom: {
    50: '#d282b8',
    500: '#ba489b',
    950: '#000000',
  },
}
SCSS
$custom: #ba489b;
$custom-light: #d282b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489b",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 316.316,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.17433,
    "h": 339.7
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#BA489B
secondary
#96C8A3
accent
#D57653
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA489B

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

Preview Lab → · Contrast checker → · Palette generator →

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