#BA489D#BA489D

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

Color values

HEX#BA489D
RGBrgb(186, 72, 157)
HSLhsl(315, 45%, 51%)
HSVhsv(315, 61%, 73%)
CMYKcmyk(0%, 61.3%, 15.6%, 27.1%)
CIE-LABlab(48.90, 55.53, -23.48)
CIE-LCHlch(48.90, 60.29, 337.08°)
OKLaboklab(58.24% 0.1639 -0.0633)
OKLCHoklch(58.24% 0.176 338.9)
XYZxyz(28.6534, 17.5106, 33.7625)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA489D #48BA65
analogous
#9E48BA #BA489D #BA4864
triadic
#BA489D #9DBA48 #489DBA
tetradic
#BA489D #BA9E48 #48BA65 #4864BA
square
#BA489D #BA9E48 #48BA65 #4864BA
split-complementary
#BA489D #64BA48 #48BA9E
monochromatic
#622553 #8F3678 #BA489D #CB74B5 #DCA1CD

Accessibility & contrast

On white

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

On black

4.50
#BA489D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA489D#FFFFFF#000000##FFFFFF
##BA489D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D69A0
Deuteranopia (green-blind)
#6F7B9A
Tritanopia (blue-blind)
#C44C6C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba489d;
/* rgb */ color: rgb(186, 72, 157);
/* oklch */ color: oklch(58.2% 0.176 338.9);
Tailwind
colors: {
  custom: {
    50: '#d282ba',
    500: '#ba489d',
    950: '#000000',
  },
}
SCSS
$custom: #ba489d;
$custom-light: #d282ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba489d",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 315.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.17574,
    "h": 338.9
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#BA489D
secondary
#96C8A2
accent
#D57453
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA489D

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

Preview Lab → · Contrast checker → · Palette generator →

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