#BA327C#BA327C

#BA327C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.185 H 351.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA327C
RGBrgb(186, 50, 124)
HSLhsl(327, 58%, 46%)
HSVhsv(327, 73%, 73%)
CMYKcmyk(0%, 73.1%, 33.3%, 27.1%)
CIE-LABlab(44.49, 59.76, -10.31)
CIE-LCHlch(44.49, 60.65, 350.21°)
OKLaboklab(54.58% 0.1829 -0.0266)
OKLCHoklch(54.58% 0.185 351.7)
XYZxyz(25.0298, 14.1785, 20.4835)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA327C #32BA70
analogous
#B432BA #BA327C #BA3238
triadic
#BA327C #7CBA32 #327CBA
tetradic
#BA327C #BAB432 #32BA70 #3238BA
square
#BA327C #BAB432 #32BA70 #3238BA
split-complementary
#BA327C #38BA32 #32BAB4
monochromatic
#5A183C #8A255C #BA327C #D2579A #DF88B7

Accessibility & contrast

On white

5.48
#BA327C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA327C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA327C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA327C#FFFFFF#000000##FFFFFF
##BA327C1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#C82853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba327c;
/* rgb */ color: rgb(186, 50, 124);
/* oklch */ color: oklch(54.6% 0.185 351.7);
Tailwind
colors: {
  custom: {
    50: '#d376a2',
    500: '#ba327c',
    950: '#000000',
  },
}
SCSS
$custom: #ba327c;
$custom-light: #d376a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba327c",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 327.353,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.18482,
    "h": 351.7
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#BA327C
secondary
#7FC9A1
accent
#E18D47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BA327C

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

Preview Lab → · Contrast checker → · Palette generator →

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