#BA328D#BA328D

#BA328D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.194 H 344.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA328D
RGBrgb(186, 50, 141)
HSLhsl(320, 58%, 46%)
HSVhsv(320, 73%, 73%)
CMYKcmyk(0%, 73.1%, 24.2%, 27.1%)
CIE-LABlab(45.15, 61.84, -19.67)
CIE-LCHlch(45.15, 64.89, 342.36°)
OKLaboklab(55.28% 0.1868 -0.0524)
OKLCHoklch(55.28% 0.194 344.3)
XYZxyz(26.1990, 14.6462, 26.6414)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA328D #32BA5F
analogous
#A332BA #BA328D #BA3249
triadic
#BA328D #8DBA32 #328DBA
tetradic
#BA328D #BAA332 #32BA5F #3249BA
square
#BA328D #BAA332 #32BA5F #3249BA
split-complementary
#BA328D #49BA32 #32BAA3
monochromatic
#5A1844 #8A2568 #BA328D #D257A9 #DF88C2

Accessibility & contrast

On white

5.35
#BA328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA328D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA328D#FFFFFF#000000##FFFFFF
##BA328D1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#C6315B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba328d;
/* rgb */ color: rgb(186, 50, 141);
/* oklch */ color: oklch(55.3% 0.194 344.3);
Tailwind
colors: {
  custom: {
    50: '#d376ae',
    500: '#ba328d',
    950: '#000000',
  },
}
SCSS
$custom: #ba328d;
$custom-light: #d376ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba328d",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 319.853,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.19404,
    "h": 344.3
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#BA328D
secondary
#7FC997
accent
#E17A47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA328D

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

Preview Lab → · Contrast checker → · Palette generator →

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