#BA428A#BA428A

#BA428A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.172 H 347.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA428A
RGBrgb(186, 66, 138)
HSLhsl(324, 48%, 49%)
HSVhsv(324, 65%, 73%)
CMYKcmyk(0%, 64.5%, 25.8%, 27.1%)
CIE-LABlab(47.20, 55.40, -14.72)
CIE-LCHlch(47.20, 57.32, 345.12°)
OKLaboklab(56.75% 0.1675 -0.0388)
OKLCHoklch(56.75% 0.172 347)
XYZxyz(26.7864, 16.1732, 25.7509)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA428A #42BA72
analogous
#AE42BA #BA428A #BA424E
triadic
#BA428A #8ABA42 #428ABA
tetradic
#BA428A #BAAE42 #42BA72 #424EBA
square
#BA428A #BAAE42 #42BA72 #424EBA
split-complementary
#BA428A #4EBA42 #42BAAE
monochromatic
#602247 #8D3268 #BA428A #CB6EA6 #DB9BC2

Accessibility & contrast

On white

4.96
#BA428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA428A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA428A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA428A#FFFFFF#000000##FFFFFF
##BA428A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#727887
Tritanopia (blue-blind)
#C63F60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba428a;
/* rgb */ color: rgb(186, 66, 138);
/* oklch */ color: oklch(56.7% 0.172 347.0);
Tailwind
colors: {
  custom: {
    50: '#d27eac',
    500: '#ba428a',
    950: '#000000',
  },
}
SCSS
$custom: #ba428a;
$custom-light: #d27eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba428a",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 324,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.17197,
    "h": 347
  },
  "luminance": 0.16171
}

Semantic roles & 50–950 ramp

primary
#BA428A
secondary
#90C8A6
accent
#D78651
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA428A

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

Preview Lab → · Contrast checker → · Palette generator →

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