#BA428B#BA428B

#BA428B is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.8% C 0.173 H 346.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BA428B
RGBrgb(186, 66, 139)
HSLhsl(324, 48%, 49%)
HSVhsv(324, 65%, 73%)
CMYKcmyk(0%, 64.5%, 25.3%, 27.1%)
CIE-LABlab(47.24, 55.53, -15.26)
CIE-LCHlch(47.24, 57.59, 344.63°)
OKLaboklab(56.79% 0.1678 -0.0403)
OKLCHoklch(56.79% 0.173 346.5)
XYZxyz(26.8591, 16.2023, 26.1339)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA428B #42BA71
analogous
#AD42BA #BA428B #BA424F
triadic
#BA428B #8BBA42 #428BBA
tetradic
#BA428B #BAAD42 #42BA71 #424FBA
square
#BA428B #BAAD42 #42BA71 #424FBA
split-complementary
#BA428B #4FBA42 #42BAAD
monochromatic
#602247 #8D3269 #BA428B #CB6EA7 #DB9BC2

Accessibility & contrast

On white

4.95
#BA428B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA428B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA428B
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA428B#FFFFFF#000000##FFFFFF
##BA428B1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#C63F61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba428b;
/* rgb */ color: rgb(186, 66, 139);
/* oklch */ color: oklch(56.8% 0.173 346.5);
Tailwind
colors: {
  custom: {
    50: '#d27ead',
    500: '#ba428b',
    950: '#000000',
  },
}
SCSS
$custom: #ba428b;
$custom-light: #d27ead;
$custom-dark: #000000;
JSON
{
  "hex": "#ba428b",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 323.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.17255,
    "h": 346.5
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA428B

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

Preview Lab → · Contrast checker → · Palette generator →

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