#BA5294#BA5294

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

Color values

HEX#BA5294
RGBrgb(186, 82, 148)
HSLhsl(322, 43%, 53%)
HSVhsv(322, 56%, 73%)
CMYKcmyk(0%, 55.9%, 20.4%, 27.1%)
CIE-LABlab(50.23, 49.62, -16.09)
CIE-LCHlch(50.23, 52.16, 342.04°)
OKLaboklab(59.11% 0.1482 -0.0427)
OKLCHoklch(59.11% 0.154 343.9)
XYZxyz(28.6130, 18.6142, 30.0972)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5294 #52BA78
analogous
#AC52BA #BA5294 #BA5260
triadic
#BA5294 #94BA52 #5294BA
tetradic
#BA5294 #BAAC52 #52BA78 #5260BA
square
#BA5294 #BAAC52 #52BA78 #5260BA
split-complementary
#BA5294 #60BA52 #52BAAC
monochromatic
#682A51 #943B73 #BA5294 #CB7EAF #DDAACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5294#FFFFFF#000000##000000
##BA52941.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)
#5A6D96
Deuteranopia (green-blind)
#777E91
Tritanopia (blue-blind)
#C5526C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5294;
/* rgb */ color: rgb(186, 82, 148);
/* oklch */ color: oklch(59.1% 0.154 343.9);
Tailwind
colors: {
  custom: {
    50: '#d187b3',
    500: '#ba5294',
    950: '#000000',
  },
}
SCSS
$custom: #ba5294;
$custom-light: #d187b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5294",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 321.923,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.15424,
    "h": 343.9
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#BA5294
secondary
#9DCAAE
accent
#D38355
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5294

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

Preview Lab → · Contrast checker → · Palette generator →

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