#BA328F#BA328F

#BA328F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.195 H 343.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA328F
RGBrgb(186, 50, 143)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 73%, 73%)
CMYKcmyk(0%, 73.1%, 23.1%, 27.1%)
CIE-LABlab(45.23, 62.10, -20.75)
CIE-LCHlch(45.23, 65.48, 341.52°)
OKLaboklab(55.37% 0.1872 -0.0555)
OKLCHoklch(55.37% 0.195 343.5)
XYZxyz(26.3492, 14.7062, 27.4322)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA328F #32BA5D
analogous
#A132BA #BA328F #BA324B
triadic
#BA328F #8FBA32 #328FBA
tetradic
#BA328F #BAA132 #32BA5D #324BBA
square
#BA328F #BAA132 #32BA5D #324BBA
split-complementary
#BA328F #4BBA32 #32BAA1
monochromatic
#5A1845 #8A256A #BA328F #D257AB #DF88C3

Accessibility & contrast

On white

5.33
#BA328F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA328F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA328F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA328F#FFFFFF#000000##FFFFFF
##BA328F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415D92
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#C6325C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba328f;
/* rgb */ color: rgb(186, 50, 143);
/* oklch */ color: oklch(55.4% 0.195 343.5);
Tailwind
colors: {
  custom: {
    50: '#d376b0',
    500: '#ba328f',
    950: '#000000',
  },
}
SCSS
$custom: #ba328f;
$custom-light: #d376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba328f",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 318.971,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.19524,
    "h": 343.5
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#BA328F
secondary
#7FC996
accent
#E17847
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA328F

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

Preview Lab → · Contrast checker → · Palette generator →

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