#BA327D#BA327D

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

Color values

HEX#BA327D
RGBrgb(186, 50, 125)
HSLhsl(327, 58%, 46%)
HSVhsv(327, 73%, 73%)
CMYKcmyk(0%, 73.1%, 32.8%, 27.1%)
CIE-LABlab(44.52, 59.88, -10.87)
CIE-LCHlch(44.52, 60.86, 349.71°)
OKLaboklab(54.62% 0.1832 -0.0282)
OKLCHoklch(54.62% 0.185 351.3)
XYZxyz(25.0934, 14.2039, 20.8182)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA327D #32BA6F
analogous
#B332BA #BA327D #BA3239
triadic
#BA327D #7DBA32 #327DBA
tetradic
#BA327D #BAB332 #32BA6F #3239BA
square
#BA327D #BAB332 #32BA6F #3239BA
split-complementary
#BA327D #39BA32 #32BAB3
monochromatic
#5A183C #8A255D #BA327D #D2579B #DF88B8

Accessibility & contrast

On white

5.47
#BA327D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA327D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA327D#FFFFFF#000000##FFFFFF
##BA327D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#70727A
Tritanopia (blue-blind)
#C82853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba327d;
/* rgb */ color: rgb(186, 50, 125);
/* oklch */ color: oklch(54.6% 0.185 351.3);
Tailwind
colors: {
  custom: {
    50: '#d376a2',
    500: '#ba327d',
    950: '#000000',
  },
}
SCSS
$custom: #ba327d;
$custom-light: #d376a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba327d",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 326.912,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.18531,
    "h": 351.3
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#BA327D
secondary
#7FC9A0
accent
#E18C47
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA327D

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

Preview Lab → · Contrast checker → · Palette generator →

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