#BA428E#BA428E

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

Color values

HEX#BA428E
RGBrgb(186, 66, 142)
HSLhsl(322, 48%, 49%)
HSVhsv(322, 65%, 73%)
CMYKcmyk(0%, 64.5%, 23.7%, 27.1%)
CIE-LABlab(47.35, 55.93, -16.89)
CIE-LCHlch(47.35, 58.43, 343.20°)
OKLaboklab(56.91% 0.1685 -0.0448)
OKLCHoklch(56.91% 0.174 345.1)
XYZxyz(27.0813, 16.2912, 27.3042)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA428E #42BA6E
analogous
#AA42BA #BA428E #BA4252
triadic
#BA428E #8EBA42 #428EBA
tetradic
#BA428E #BAAA42 #42BA6E #4252BA
square
#BA428E #BAAA42 #42BA6E #4252BA
split-complementary
#BA428E #52BA42 #42BAAA
monochromatic
#602249 #8D326C #BA428E #CB6EA9 #DB9BC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA428E#FFFFFF#000000##FFFFFF
##BA428E1.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)
#4E6390
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#C64162
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba428e;
/* rgb */ color: rgb(186, 66, 142);
/* oklch */ color: oklch(56.9% 0.174 345.1);
Tailwind
colors: {
  custom: {
    50: '#d27eaf',
    500: '#ba428e',
    950: '#000000',
  },
}
SCSS
$custom: #ba428e;
$custom-light: #d27eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba428e",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 322,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.17435,
    "h": 345.1
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA428E

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

Preview Lab → · Contrast checker → · Palette generator →

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