#BA429B#BA429B

#BA429B is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.5% C 0.183 H 339.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA429B
RGBrgb(186, 66, 155)
HSLhsl(316, 48%, 49%)
HSVhsv(316, 65%, 73%)
CMYKcmyk(0%, 64.5%, 16.7%, 27.1%)
CIE-LABlab(47.89, 57.78, -23.85)
CIE-LCHlch(47.89, 62.51, 337.57°)
OKLaboklab(57.47% 0.1712 -0.0643)
OKLCHoklch(57.47% 0.183 339.4)
XYZxyz(28.1149, 16.7046, 32.7476)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA429B #42BA61
analogous
#9D42BA #BA429B #BA425F
triadic
#BA429B #9BBA42 #429BBA
tetradic
#BA429B #BA9D42 #42BA61 #425FBA
square
#BA429B #BA9D42 #42BA61 #425FBA
split-complementary
#BA429B #5FBA42 #42BA9D
monochromatic
#602250 #8D3275 #BA429B #CB6EB3 #DB9BCB

Accessibility & contrast

On white

4.84
#BA429B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA429B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA429B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA429B#FFFFFF#000000##FFFFFF
##BA429B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48669E
Deuteranopia (green-blind)
#6D7998
Tritanopia (blue-blind)
#C44668
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba429b;
/* rgb */ color: rgb(186, 66, 155);
/* oklch */ color: oklch(57.5% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#d27eb8',
    500: '#ba429b',
    950: '#000000',
  },
}
SCSS
$custom: #ba429b;
$custom-light: #d27eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba429b",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 315.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.18287,
    "h": 339.4
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#BA429B
secondary
#90C89F
accent
#D77351
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA429B

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

Preview Lab → · Contrast checker → · Palette generator →

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