#BA327E#BA327E

#BA327E is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.186 H 350.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA327E
RGBrgb(186, 50, 126)
HSLhsl(326, 58%, 46%)
HSVhsv(326, 73%, 73%)
CMYKcmyk(0%, 73.1%, 32.3%, 27.1%)
CIE-LABlab(44.56, 59.99, -11.43)
CIE-LCHlch(44.56, 61.07, 349.22°)
OKLaboklab(54.66% 0.1834 -0.0297)
OKLCHoklch(54.66% 0.186 350.8)
XYZxyz(25.1576, 14.2296, 21.1564)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA327E #32BA6E
analogous
#B232BA #BA327E #BA323A
triadic
#BA327E #7EBA32 #327EBA
tetradic
#BA327E #BAB232 #32BA6E #323ABA
square
#BA327E #BAB232 #32BA6E #323ABA
split-complementary
#BA327E #3ABA32 #32BAB2
monochromatic
#5A183D #8A255D #BA327E #D2579C #DF88B8

Accessibility & contrast

On white

5.46
#BA327E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA327E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA327E
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA327E#FFFFFF#000000##FFFFFF
##BA327E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#6F727B
Tritanopia (blue-blind)
#C82954
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba327e;
/* rgb */ color: rgb(186, 50, 126);
/* oklch */ color: oklch(54.7% 0.186 350.8);
Tailwind
colors: {
  custom: {
    50: '#d376a3',
    500: '#ba327e',
    950: '#000000',
  },
}
SCSS
$custom: #ba327e;
$custom-light: #d376a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba327e",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 326.471,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54662,
    "c": 0.18581,
    "h": 350.8
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA327E

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

Preview Lab → · Contrast checker → · Palette generator →

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