#BA548A#BA548A

#BA548A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.145 H 349.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA548A
RGBrgb(186, 84, 138)
HSLhsl(328, 43%, 53%)
HSVhsv(328, 55%, 73%)
CMYKcmyk(0%, 54.8%, 25.8%, 27.1%)
CIE-LABlab(50.24, 47.22, -10.13)
CIE-LCHlch(50.24, 48.30, 347.89°)
OKLaboklab(59% 0.1425 -0.0264)
OKLCHoklch(59% 0.145 349.5)
XYZxyz(28.0084, 18.6172, 26.1582)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548A #54BA84
analogous
#B754BA #BA548A #BA5457
triadic
#BA548A #8ABA54 #548ABA
tetradic
#BA548A #BAB754 #54BA84 #5457BA
square
#BA548A #BAB754 #54BA84 #5457BA
split-complementary
#BA548A #57BA54 #54BAB7
monochromatic
#692A4C #953C6B #BA548A #CC80A8 #DDABC6

Accessibility & contrast

On white

4.45
#BA548A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA548A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA548A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA548A#FFFFFF#000000##000000
##BA548A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#7B7E88
Tritanopia (blue-blind)
#C65169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba548a;
/* rgb */ color: rgb(186, 84, 138);
/* oklch */ color: oklch(59.0% 0.145 349.5);
Tailwind
colors: {
  custom: {
    50: '#d288ac',
    500: '#ba548a',
    950: '#000000',
  },
}
SCSS
$custom: #ba548a;
$custom-light: #d288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548a",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 328.235,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.14493,
    "h": 349.5
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#BA548A
secondary
#9FCBB4
accent
#D29056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA548A

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

Preview Lab → · Contrast checker → · Palette generator →

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