#BA428F#BA428F

#BA428F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.0% C 0.175 H 344.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA428F
RGBrgb(186, 66, 143)
HSLhsl(322, 48%, 49%)
HSVhsv(322, 65%, 73%)
CMYKcmyk(0%, 64.5%, 23.1%, 27.1%)
CIE-LABlab(47.39, 56.07, -17.43)
CIE-LCHlch(47.39, 58.72, 342.73°)
OKLaboklab(56.95% 0.1687 -0.0463)
OKLCHoklch(56.95% 0.175 344.6)
XYZxyz(27.1568, 16.3213, 27.7014)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA428F #42BA6D
analogous
#A942BA #BA428F #BA4253
triadic
#BA428F #8FBA42 #428FBA
tetradic
#BA428F #BAA942 #42BA6D #4253BA
square
#BA428F #BAA942 #42BA6D #4253BA
split-complementary
#BA428F #53BA42 #42BAA9
monochromatic
#60224A #8D326C #BA428F #CB6EAA #DB9BC4

Accessibility & contrast

On white

4.93
#BA428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA428F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA428F#FFFFFF#000000##FFFFFF
##BA428F1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6491
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#C64163
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba428f;
/* rgb */ color: rgb(186, 66, 143);
/* oklch */ color: oklch(57.0% 0.175 344.6);
Tailwind
colors: {
  custom: {
    50: '#d27eb0',
    500: '#ba428f',
    950: '#000000',
  },
}
SCSS
$custom: #ba428f;
$custom-light: #d27eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba428f",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 321.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.17497,
    "h": 344.6
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#BA428F
secondary
#90C8A4
accent
#D78151
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA428F

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

Preview Lab → · Contrast checker → · Palette generator →

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