#BA549A#BA549A

#BA549A is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.6% C 0.155 H 341.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA549A
RGBrgb(186, 84, 154)
HSLhsl(319, 43%, 53%)
HSVhsv(319, 55%, 73%)
CMYKcmyk(0%, 54.8%, 17.2%, 27.1%)
CIE-LABlab(50.82, 49.56, -18.74)
CIE-LCHlch(50.82, 52.99, 339.28°)
OKLaboklab(59.62% 0.1468 -0.0501)
OKLCHoklch(59.62% 0.155 341.1)
XYZxyz(29.2533, 19.1152, 32.7145)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA549A #54BA74
analogous
#A754BA #BA549A #BA5467
triadic
#BA549A #9ABA54 #549ABA
tetradic
#BA549A #BAA754 #54BA74 #5467BA
square
#BA549A #BAA754 #54BA74 #5467BA
split-complementary
#BA549A #67BA54 #54BAA7
monochromatic
#692A55 #953C79 #BA549A #CC80B4 #DDABCE

Accessibility & contrast

On white

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

On black

4.82
#BA549A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA549A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA549A#FFFFFF#000000##000000
##BA549A1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6F9C
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#C45570
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba549a;
/* rgb */ color: rgb(186, 84, 154);
/* oklch */ color: oklch(59.6% 0.155 341.1);
Tailwind
colors: {
  custom: {
    50: '#d188b8',
    500: '#ba549a',
    950: '#000000',
  },
}
SCSS
$custom: #ba549a;
$custom-light: #d188b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba549a",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 318.824,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.15515,
    "h": 341.1
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#BA549A
secondary
#9FCBAD
accent
#D27D56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA549A

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

Preview Lab → · Contrast checker → · Palette generator →

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