#BA489C#BA489C

#BA489C is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.2% C 0.175 H 339.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA489C
RGBrgb(186, 72, 156)
HSLhsl(316, 45%, 51%)
HSVhsv(316, 61%, 73%)
CMYKcmyk(0%, 61.3%, 16.1%, 27.1%)
CIE-LABlab(48.85, 55.38, -22.95)
CIE-LCHlch(48.85, 59.95, 337.49°)
OKLaboklab(58.2% 0.1637 -0.0618)
OKLCHoklch(58.2% 0.175 339.3)
XYZxyz(28.5684, 17.4766, 33.3147)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489C #48BA66
analogous
#9F48BA #BA489C #BA4863
triadic
#BA489C #9CBA48 #489CBA
tetradic
#BA489C #BA9F48 #48BA66 #4863BA
square
#BA489C #BA9F48 #48BA66 #4863BA
split-complementary
#BA489C #63BA48 #48BA9F
monochromatic
#622552 #8F3677 #BA489C #CB74B4 #DCA1CC

Accessibility & contrast

On white

4.67
#BA489C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA489C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA489C#FFFFFF#000000##FFFFFF
##BA489C1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#6F7B99
Tritanopia (blue-blind)
#C44B6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489c;
/* rgb */ color: rgb(186, 72, 156);
/* oklch */ color: oklch(58.2% 0.175 339.3);
Tailwind
colors: {
  custom: {
    50: '#d282b9',
    500: '#ba489c',
    950: '#000000',
  },
}
SCSS
$custom: #ba489c;
$custom-light: #d282b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489c",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 315.789,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.17502,
    "h": 339.3
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA489C

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

Preview Lab → · Contrast checker → · Palette generator →

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