#BA548B#BA548B

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

Color values

HEX#BA548B
RGBrgb(186, 84, 139)
HSLhsl(328, 43%, 53%)
HSVhsv(328, 55%, 73%)
CMYKcmyk(0%, 54.8%, 25.3%, 27.1%)
CIE-LABlab(50.27, 47.36, -10.68)
CIE-LCHlch(50.27, 48.55, 347.30°)
OKLaboklab(59.03% 0.1428 -0.0279)
OKLCHoklch(59.03% 0.145 348.9)
XYZxyz(28.0812, 18.6463, 26.5413)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA548B #54BA83
analogous
#B654BA #BA548B #BA5458
triadic
#BA548B #8BBA54 #548BBA
tetradic
#BA548B #BAB654 #54BA83 #5458BA
square
#BA548B #BAB654 #54BA83 #5458BA
split-complementary
#BA548B #58BA54 #54BAB6
monochromatic
#692A4C #953C6C #BA548B #CC80A9 #DDABC6

Accessibility & contrast

On white

4.44
#BA548B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BA548B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA548B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA548B#FFFFFF#000000##000000
##BA548B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba548b;
/* rgb */ color: rgb(186, 84, 139);
/* oklch */ color: oklch(59.0% 0.145 348.9);
Tailwind
colors: {
  custom: {
    50: '#d188ac',
    500: '#ba548b',
    950: '#000000',
  },
}
SCSS
$custom: #ba548b;
$custom-light: #d188ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba548b",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 327.647,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59032,
    "c": 0.14549,
    "h": 348.9
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#BA548B
secondary
#9FCBB3
accent
#D28F56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA548B

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

Preview Lab → · Contrast checker → · Palette generator →

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