#BA429D#BA429D

#BA429D is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.184 H 338.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA429D
RGBrgb(186, 66, 157)
HSLhsl(315, 48%, 49%)
HSVhsv(315, 65%, 73%)
CMYKcmyk(0%, 64.5%, 15.6%, 27.1%)
CIE-LABlab(47.97, 58.07, -24.91)
CIE-LCHlch(47.97, 63.19, 336.78°)
OKLaboklab(57.56% 0.1715 -0.0673)
OKLCHoklch(57.56% 0.184 338.6)
XYZxyz(28.2842, 16.7723, 33.6395)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA429D #42BA5F
analogous
#9B42BA #BA429D #BA4261
triadic
#BA429D #9DBA42 #429DBA
tetradic
#BA429D #BA9B42 #42BA5F #4261BA
square
#BA429D #BA9B42 #42BA5F #4261BA
split-complementary
#BA429D #61BA42 #42BA9B
monochromatic
#602251 #8D3277 #BA429D #CB6EB5 #DB9BCC

Accessibility & contrast

On white

4.82
#BA429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA429D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA429D#FFFFFF#000000##FFFFFF
##BA429D1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A0
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#C44669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba429d;
/* rgb */ color: rgb(186, 66, 157);
/* oklch */ color: oklch(57.6% 0.184 338.6);
Tailwind
colors: {
  custom: {
    50: '#d27eba',
    500: '#ba429d',
    950: '#000000',
  },
}
SCSS
$custom: #ba429d;
$custom-light: #d27eba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba429d",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 314.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.18426,
    "h": 338.6
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#BA429D
secondary
#90C89E
accent
#D77151
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA429D

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

Preview Lab → · Contrast checker → · Palette generator →

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