#BA427A#BA427A

#BA427A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.1% C 0.164 H 354.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA427A
RGBrgb(186, 66, 122)
HSLhsl(332, 48%, 49%)
HSVhsv(332, 65%, 73%)
CMYKcmyk(0%, 64.5%, 34.4%, 27.1%)
CIE-LABlab(46.64, 53.39, -5.87)
CIE-LCHlch(46.64, 53.71, 353.72°)
OKLaboklab(56.14% 0.163 -0.0148)
OKLCHoklch(56.14% 0.164 354.8)
XYZxyz(25.7122, 15.7435, 20.0933)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA427A #42BA82
analogous
#BA42B6 #BA427A #BA4642
triadic
#BA427A #7ABA42 #427ABA
tetradic
#BA427A #B6BA42 #42BA82 #4642BA
square
#BA427A #B6BA42 #42BA82 #4642BA
split-complementary
#BA427A #42BA46 #42B6BA
monochromatic
#60223F #8D325C #BA427A #CB6E99 #DB9BB9

Accessibility & contrast

On white

5.06
#BA427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BA427A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA427A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA427A#FFFFFF#000000##FFFFFF
##BA427A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#777777
Tritanopia (blue-blind)
#C83959
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba427a;
/* rgb */ color: rgb(186, 66, 122);
/* oklch */ color: oklch(56.1% 0.164 354.8);
Tailwind
colors: {
  custom: {
    50: '#d37ea0',
    500: '#ba427a',
    950: '#000000',
  },
}
SCSS
$custom: #ba427a;
$custom-light: #d37ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba427a",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 332,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.16371,
    "h": 354.8
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#BA427A
secondary
#90C8AE
accent
#D79851
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA427A

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

Preview Lab → · Contrast checker → · Palette generator →

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