#BA488C#BA488C

#BA488C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.5% C 0.165 H 346.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA488C
RGBrgb(186, 72, 140)
HSLhsl(324, 45%, 51%)
HSVhsv(324, 61%, 73%)
CMYKcmyk(0%, 61.3%, 24.7%, 27.1%)
CIE-LABlab(48.22, 53.08, -14.37)
CIE-LCHlch(48.22, 54.99, 344.86°)
OKLaboklab(57.52% 0.1601 -0.0379)
OKLCHoklch(57.52% 0.165 346.7)
XYZxyz(27.3017, 16.9699, 26.6435)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA488C #48BA76
analogous
#AF48BA #BA488C #BA4853
triadic
#BA488C #8CBA48 #488CBA
tetradic
#BA488C #BAAF48 #48BA76 #4853BA
square
#BA488C #BAAF48 #48BA76 #4853BA
split-complementary
#BA488C #53BA48 #48BAAF
monochromatic
#62254A #8F366B #BA488C #CB74A8 #DCA1C4

Accessibility & contrast

On white

4.78
#BA488C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA488C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA488C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA488C#FFFFFF#000000##FFFFFF
##BA488C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#757A89
Tritanopia (blue-blind)
#C64664
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba488c;
/* rgb */ color: rgb(186, 72, 140);
/* oklch */ color: oklch(57.5% 0.165 346.7);
Tailwind
colors: {
  custom: {
    50: '#d281ad',
    500: '#ba488c',
    950: '#000000',
  },
}
SCSS
$custom: #ba488c;
$custom-light: #d281ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba488c",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 324.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.16454,
    "h": 346.7
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#BA488C
secondary
#96C8AA
accent
#D58753
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA488C

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

Preview Lab → · Contrast checker → · Palette generator →

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