#BA327A#BA327A

#BA327A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.184 H 352.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA327A
RGBrgb(186, 50, 122)
HSLhsl(328, 58%, 46%)
HSVhsv(328, 73%, 73%)
CMYKcmyk(0%, 73.1%, 34.4%, 27.1%)
CIE-LABlab(44.42, 59.54, -9.19)
CIE-LCHlch(44.42, 60.24, 351.23°)
OKLaboklab(54.51% 0.1824 -0.0236)
OKLCHoklch(54.51% 0.184 352.6)
XYZxyz(24.9046, 14.1284, 19.8241)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA327A #32BA72
analogous
#B632BA #BA327A #BA3236
triadic
#BA327A #7ABA32 #327ABA
tetradic
#BA327A #BAB632 #32BA72 #3236BA
square
#BA327A #BAB632 #32BA72 #3236BA
split-complementary
#BA327A #36BA32 #32BAB6
monochromatic
#5A183B #8A255A #BA327A #D25798 #DF88B6

Accessibility & contrast

On white

5.49
#BA327A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA327A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA327A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA327A#FFFFFF#000000##FFFFFF
##BA327A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597C
Deuteranopia (green-blind)
#707277
Tritanopia (blue-blind)
#C82752
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba327a;
/* rgb */ color: rgb(186, 50, 122);
/* oklch */ color: oklch(54.5% 0.184 352.6);
Tailwind
colors: {
  custom: {
    50: '#d376a0',
    500: '#ba327a',
    950: '#000000',
  },
}
SCSS
$custom: #ba327a;
$custom-light: #d376a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba327a",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 328.235,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.18387,
    "h": 352.6
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#BA327A
secondary
#7FC9A2
accent
#E18F47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA327A

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

Preview Lab → · Contrast checker → · Palette generator →

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