#BA549D#BA549D

#BA549D is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.7% C 0.157 H 339.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA549D
RGBrgb(186, 84, 157)
HSLhsl(317, 43%, 53%)
HSVhsv(317, 55%, 73%)
CMYKcmyk(0%, 54.8%, 15.6%, 27.1%)
CIE-LABlab(50.94, 50.02, -20.34)
CIE-LCHlch(50.94, 54.00, 337.88°)
OKLaboklab(59.75% 0.1475 -0.0546)
OKLCHoklch(59.75% 0.157 339.7)
XYZxyz(29.5063, 19.2164, 34.0468)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA549D #54BA71
analogous
#A454BA #BA549D #BA546A
triadic
#BA549D #9DBA54 #549DBA
tetradic
#BA549D #BAA454 #54BA71 #546ABA
square
#BA549D #BAA454 #54BA71 #546ABA
split-complementary
#BA549D #6ABA54 #54BAA4
monochromatic
#692A57 #953C7C #BA549D #CC80B6 #DDABCF

Accessibility & contrast

On white

4.34
#BA549D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BA549D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA549D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA549D#FFFFFF#000000##000000
##BA549D1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#767F9A
Tritanopia (blue-blind)
#C45671
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba549d;
/* rgb */ color: rgb(186, 84, 157);
/* oklch */ color: oklch(59.7% 0.157 339.7);
Tailwind
colors: {
  custom: {
    50: '#d189ba',
    500: '#ba549d',
    950: '#000000',
  },
}
SCSS
$custom: #ba549d;
$custom-light: #d189ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba549d",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 317.059,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.15731,
    "h": 339.7
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#BA549D
secondary
#9FCBAB
accent
#D27956
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA549D

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

Preview Lab → · Contrast checker → · Palette generator →

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