#BA488B#BA488B

#BA488B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.5% C 0.164 H 347.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA488B
RGBrgb(186, 72, 139)
HSLhsl(325, 45%, 51%)
HSVhsv(325, 61%, 73%)
CMYKcmyk(0%, 61.3%, 25.3%, 27.1%)
CIE-LABlab(48.19, 52.95, -13.82)
CIE-LCHlch(48.19, 54.72, 345.37°)
OKLaboklab(57.48% 0.1599 -0.0364)
OKLCHoklch(57.48% 0.164 347.2)
XYZxyz(27.2283, 16.9405, 26.2570)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA488B #48BA77
analogous
#B048BA #BA488B #BA4852
triadic
#BA488B #8BBA48 #488BBA
tetradic
#BA488B #BAB048 #48BA77 #4852BA
square
#BA488B #BAB048 #48BA77 #4852BA
split-complementary
#BA488B #52BA48 #48BAB0
monochromatic
#622549 #8F366A #BA488B #CB74A7 #DCA1C3

Accessibility & contrast

On white

4.79
#BA488B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA488B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA488B#FFFFFF#000000##FFFFFF
##BA488B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668D
Deuteranopia (green-blind)
#757A88
Tritanopia (blue-blind)
#C64563
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba488b;
/* rgb */ color: rgb(186, 72, 139);
/* oklch */ color: oklch(57.5% 0.164 347.2);
Tailwind
colors: {
  custom: {
    50: '#d281ad',
    500: '#ba488b',
    950: '#000000',
  },
}
SCSS
$custom: #ba488b;
$custom-light: #d281ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba488b",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 324.737,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.16394,
    "h": 347.2
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA488B

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

Preview Lab → · Contrast checker → · Palette generator →

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