#BA549B#BA549B

#BA549B is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.7% C 0.156 H 340.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA549B
RGBrgb(186, 84, 155)
HSLhsl(318, 43%, 53%)
HSVhsv(318, 55%, 73%)
CMYKcmyk(0%, 54.8%, 16.7%, 27.1%)
CIE-LABlab(50.86, 49.71, -19.28)
CIE-LCHlch(50.86, 53.32, 338.81°)
OKLaboklab(59.66% 0.1471 -0.0516)
OKLCHoklch(59.66% 0.156 340.7)
XYZxyz(29.3369, 19.1486, 33.1549)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA549B #54BA73
analogous
#A654BA #BA549B #BA5468
triadic
#BA549B #9BBA54 #549BBA
tetradic
#BA549B #BAA654 #54BA73 #5468BA
square
#BA549B #BAA654 #54BA73 #5468BA
split-complementary
#BA549B #68BA54 #54BAA6
monochromatic
#692A56 #953C7A #BA549B #CC80B4 #DDABCE

Accessibility & contrast

On white

4.35
#BA549B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA549B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA549B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA549B#FFFFFF#000000##000000
##BA549B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9D
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#C45670
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba549b;
/* rgb */ color: rgb(186, 84, 155);
/* oklch */ color: oklch(59.7% 0.156 340.7);
Tailwind
colors: {
  custom: {
    50: '#d189b8',
    500: '#ba549b',
    950: '#000000',
  },
}
SCSS
$custom: #ba549b;
$custom-light: #d189b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba549b",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 155
  },
  "hsl": {
    "h": 318.235,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.15586,
    "h": 340.7
  },
  "luminance": 0.19146
}

Semantic roles & 50–950 ramp

primary
#BA549B
secondary
#9FCBAC
accent
#D27B56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA549B

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

Preview Lab → · Contrast checker → · Palette generator →

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