#BA489F#BA489F

#BA489F is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.177 H 338.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA489F
RGBrgb(186, 72, 159)
HSLhsl(314, 45%, 51%)
HSVhsv(314, 61%, 73%)
CMYKcmyk(0%, 61.3%, 14.5%, 27.1%)
CIE-LABlab(48.98, 55.84, -24.53)
CIE-LCHlch(48.98, 60.99, 336.28°)
OKLaboklab(58.33% 0.1643 -0.0663)
OKLCHoklch(58.33% 0.177 338)
XYZxyz(28.8255, 17.5794, 34.6692)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489F #48BA63
analogous
#9C48BA #BA489F #BA4866
triadic
#BA489F #9FBA48 #489FBA
tetradic
#BA489F #BA9C48 #48BA63 #4866BA
square
#BA489F #BA9C48 #48BA63 #4866BA
split-complementary
#BA489F #66BA48 #48BA9C
monochromatic
#622554 #8F367A #BA489F #CB74B6 #DCA1CE

Accessibility & contrast

On white

4.65
#BA489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA489F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA489F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA489F#FFFFFF#000000##FFFFFF
##BA489F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C69A2
Deuteranopia (green-blind)
#6E7B9C
Tritanopia (blue-blind)
#C44C6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489f;
/* rgb */ color: rgb(186, 72, 159);
/* oklch */ color: oklch(58.3% 0.177 338.0);
Tailwind
colors: {
  custom: {
    50: '#d282bb',
    500: '#ba489f',
    950: '#000000',
  },
}
SCSS
$custom: #ba489f;
$custom-light: #d282bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489f",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 314.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.17718,
    "h": 338
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#BA489F
secondary
#96C8A2
accent
#D57253
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA489F

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

Preview Lab → · Contrast checker → · Palette generator →

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