#BA488F#BA488F

#BA488F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.6% C 0.166 H 345.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA488F
RGBrgb(186, 72, 143)
HSLhsl(323, 45%, 51%)
HSVhsv(323, 61%, 73%)
CMYKcmyk(0%, 61.3%, 23.1%, 27.1%)
CIE-LABlab(48.34, 53.50, -15.99)
CIE-LCHlch(48.34, 55.84, 343.36°)
OKLaboklab(57.64% 0.1609 -0.0424)
OKLCHoklch(57.64% 0.166 345.2)
XYZxyz(27.5259, 17.0596, 27.8244)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA488F #48BA73
analogous
#AC48BA #BA488F #BA4856
triadic
#BA488F #8FBA48 #488FBA
tetradic
#BA488F #BAAC48 #48BA73 #4856BA
square
#BA488F #BAAC48 #48BA73 #4856BA
split-complementary
#BA488F #56BA48 #48BAAC
monochromatic
#62254B #8F366D #BA488F #CB74AA #DCA1C5

Accessibility & contrast

On white

4.76
#BA488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA488F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA488F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA488F#FFFFFF#000000##FFFFFF
##BA488F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536791
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#C64765
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba488f;
/* rgb */ color: rgb(186, 72, 143);
/* oklch */ color: oklch(57.6% 0.166 345.2);
Tailwind
colors: {
  custom: {
    50: '#d281b0',
    500: '#ba488f',
    950: '#000000',
  },
}
SCSS
$custom: #ba488f;
$custom-light: #d281b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba488f",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 322.632,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.16636,
    "h": 345.2
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#BA488F
secondary
#96C8A9
accent
#D58453
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA488F

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

Preview Lab → · Contrast checker → · Palette generator →

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