#BA428D#BA428D

#BA428D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.174 H 345.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA428D
RGBrgb(186, 66, 141)
HSLhsl(323, 48%, 49%)
HSVhsv(323, 65%, 73%)
CMYKcmyk(0%, 64.5%, 24.2%, 27.1%)
CIE-LABlab(47.32, 55.80, -16.35)
CIE-LCHlch(47.32, 58.14, 343.67°)
OKLaboklab(56.87% 0.1683 -0.0433)
OKLCHoklch(56.87% 0.174 345.6)
XYZxyz(27.0066, 16.2613, 26.9106)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA428D #42BA6F
analogous
#AB42BA #BA428D #BA4251
triadic
#BA428D #8DBA42 #428DBA
tetradic
#BA428D #BAAB42 #42BA6F #4251BA
square
#BA428D #BAAB42 #42BA6F #4251BA
split-complementary
#BA428D #51BA42 #42BAAB
monochromatic
#602249 #8D326B #BA428D #CB6EA8 #DB9BC3

Accessibility & contrast

On white

4.94
#BA428D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA428D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA428D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA428D#FFFFFF#000000##FFFFFF
##BA428D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638F
Deuteranopia (green-blind)
#71788A
Tritanopia (blue-blind)
#C64062
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba428d;
/* rgb */ color: rgb(186, 66, 141);
/* oklch */ color: oklch(56.9% 0.174 345.6);
Tailwind
colors: {
  custom: {
    50: '#d27eae',
    500: '#ba428d',
    950: '#000000',
  },
}
SCSS
$custom: #ba428d;
$custom-light: #d27eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba428d",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 322.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.17375,
    "h": 345.6
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#BA428D
secondary
#90C8A5
accent
#D78351
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA428D

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

Preview Lab → · Contrast checker → · Palette generator →

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