#BA328E#BA328E

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

Color values

HEX#BA328E
RGBrgb(186, 50, 142)
HSLhsl(319, 58%, 46%)
HSVhsv(319, 73%, 73%)
CMYKcmyk(0%, 73.1%, 23.7%, 27.1%)
CIE-LABlab(45.19, 61.97, -20.21)
CIE-LCHlch(45.19, 65.18, 341.94°)
OKLaboklab(55.33% 0.187 -0.0539)
OKLCHoklch(55.33% 0.195 343.9)
XYZxyz(26.2738, 14.6761, 27.0350)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA328E #32BA5E
analogous
#A232BA #BA328E #BA324A
triadic
#BA328E #8EBA32 #328EBA
tetradic
#BA328E #BAA232 #32BA5E #324ABA
square
#BA328E #BAA232 #32BA5E #324ABA
split-complementary
#BA328E #4ABA32 #32BAA2
monochromatic
#5A1844 #8A2569 #BA328E #D257AA #DF88C3

Accessibility & contrast

On white

5.34
#BA328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA328E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA328E#FFFFFF#000000##FFFFFF
##BA328E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C91
Deuteranopia (green-blind)
#6B738B
Tritanopia (blue-blind)
#C6315C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba328e;
/* rgb */ color: rgb(186, 50, 142);
/* oklch */ color: oklch(55.3% 0.195 343.9);
Tailwind
colors: {
  custom: {
    50: '#d376af',
    500: '#ba328e',
    950: '#000000',
  },
}
SCSS
$custom: #ba328e;
$custom-light: #d376af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba328e",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 319.412,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.19464,
    "h": 343.9
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA328E

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

Preview Lab → · Contrast checker → · Palette generator →

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