#BA4681#BA4681

#BA4681 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.9% C 0.161 H 351.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA4681
RGBrgb(186, 70, 129)
HSLhsl(329, 46%, 50%)
HSVhsv(329, 62%, 73%)
CMYKcmyk(0%, 62.4%, 30.6%, 27.1%)
CIE-LABlab(47.50, 52.52, -8.82)
CIE-LCHlch(47.50, 53.26, 350.46°)
OKLaboklab(56.86% 0.1598 -0.0228)
OKLCHoklch(56.86% 0.161 351.9)
XYZxyz(26.4036, 16.4071, 22.5410)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4681 #46BA7F
analogous
#B946BA #BA4681 #BA4647
triadic
#BA4681 #81BA46 #4681BA
tetradic
#BA4681 #BAB946 #46BA7F #4647BA
square
#BA4681 #BAB946 #46BA7F #4647BA
split-complementary
#BA4681 #47BA46 #46BAB9
monochromatic
#612443 #8E3562 #BA4681 #CB739F #DB9FBE

Accessibility & contrast

On white

4.91
#BA4681 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4681 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4681
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4681#FFFFFF#000000##FFFFFF
##BA46811.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576483
Deuteranopia (green-blind)
#77787E
Tritanopia (blue-blind)
#C7405E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4681;
/* rgb */ color: rgb(186, 70, 129);
/* oklch */ color: oklch(56.9% 0.161 351.9);
Tailwind
colors: {
  custom: {
    50: '#d280a5',
    500: '#ba4681',
    950: '#000000',
  },
}
SCSS
$custom: #ba4681;
$custom-light: #d280a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4681",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 129
  },
  "hsl": {
    "h": 329.483,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.16139,
    "h": 351.9
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#BA4681
secondary
#94C8AD
accent
#D59352
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4681

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

Preview Lab → · Contrast checker → · Palette generator →

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