#BA327B#BA327B

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

Color values

HEX#BA327B
RGBrgb(186, 50, 123)
HSLhsl(328, 58%, 46%)
HSVhsv(328, 73%, 73%)
CMYKcmyk(0%, 73.1%, 33.9%, 27.1%)
CIE-LABlab(44.45, 59.65, -9.75)
CIE-LCHlch(44.45, 60.44, 350.72°)
OKLaboklab(54.55% 0.1826 -0.0251)
OKLCHoklch(54.55% 0.184 352.2)
XYZxyz(24.9669, 14.1533, 20.1521)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA327B #32BA71
analogous
#B532BA #BA327B #BA3237
triadic
#BA327B #7BBA32 #327BBA
tetradic
#BA327B #BAB532 #32BA71 #3237BA
square
#BA327B #BAB532 #32BA71 #3237BA
split-complementary
#BA327B #37BA32 #32BAB5
monochromatic
#5A183B #8A255B #BA327B #D25799 #DF88B6

Accessibility & contrast

On white

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

On black

3.83
#BA327B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA327B#FFFFFF#000000##FFFFFF
##BA327B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba327b;
/* rgb */ color: rgb(186, 50, 123);
/* oklch */ color: oklch(54.5% 0.184 352.2);
Tailwind
colors: {
  custom: {
    50: '#d376a1',
    500: '#ba327b',
    950: '#000000',
  },
}
SCSS
$custom: #ba327b;
$custom-light: #d376a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba327b",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 327.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.18434,
    "h": 352.2
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#BA327B
secondary
#7FC9A1
accent
#E18E47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA327B

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

Preview Lab → · Contrast checker → · Palette generator →

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