#BA429E#BA429E

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

Color values

HEX#BA429E
RGBrgb(186, 66, 158)
HSLhsl(314, 48%, 49%)
HSVhsv(314, 65%, 73%)
CMYKcmyk(0%, 64.5%, 15.1%, 27.1%)
CIE-LABlab(48.02, 58.22, -25.44)
CIE-LCHlch(48.02, 63.54, 336.40°)
OKLaboklab(57.61% 0.1717 -0.0688)
OKLCHoklch(57.61% 0.185 338.2)
XYZxyz(28.3700, 16.8066, 34.0910)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA429E #42BA5E
analogous
#9A42BA #BA429E #BA4262
triadic
#BA429E #9EBA42 #429EBA
tetradic
#BA429E #BA9A42 #42BA5E #4262BA
square
#BA429E #BA9A42 #42BA5E #4262BA
split-complementary
#BA429E #62BA42 #42BA9A
monochromatic
#602251 #8D3278 #BA429E #CB6EB6 #DB9BCC

Accessibility & contrast

On white

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

On black

4.36
#BA429E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA429E#FFFFFF#000000##FFFFFF
##BA429E1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4666A1
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#C4476A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba429e;
/* rgb */ color: rgb(186, 66, 158);
/* oklch */ color: oklch(57.6% 0.185 338.2);
Tailwind
colors: {
  custom: {
    50: '#d27fbb',
    500: '#ba429e',
    950: '#000000',
  },
}
SCSS
$custom: #ba429e;
$custom-light: #d27fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba429e",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 314,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.18497,
    "h": 338.2
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#BA429E
secondary
#90C89D
accent
#D77051
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA429E

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

Preview Lab → · Contrast checker → · Palette generator →

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