#BA4E84#BA4E84

#BA4E84 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.0% C 0.151 H 351.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA4E84
RGBrgb(186, 78, 132)
HSLhsl(330, 44%, 52%)
HSVhsv(330, 58%, 73%)
CMYKcmyk(0%, 58.1%, 29%, 27.1%)
CIE-LABlab(48.95, 49.28, -8.46)
CIE-LCHlch(48.95, 50.00, 350.26°)
OKLaboklab(57.97% 0.1495 -0.0218)
OKLCHoklch(57.97% 0.151 351.7)
XYZxyz(27.1401, 17.5565, 23.7847)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E84 #4EBA84
analogous
#BA4EBA #BA4E84 #BA4E4E
triadic
#BA4E84 #84BA4E #4E84BA
tetradic
#BA4E84 #BABA4E #4EBA84 #4E4EBA
square
#BA4E84 #BABA4E #4EBA84 #4E4EBA
split-complementary
#BA4E84 #4EBA4E #4EBABA
monochromatic
#662847 #923965 #BA4E84 #CB7AA3 #DCA6C1

Accessibility & contrast

On white

4.66
#BA4E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA4E84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E84
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E84#FFFFFF#000000##FFFFFF
##BA4E841.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6886
Deuteranopia (green-blind)
#7A7B81
Tritanopia (blue-blind)
#C74963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e84;
/* rgb */ color: rgb(186, 78, 132);
/* oklch */ color: oklch(58.0% 0.151 351.7);
Tailwind
colors: {
  custom: {
    50: '#d284a7',
    500: '#ba4e84',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e84;
$custom-light: #d284a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e84",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 330,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.15106,
    "h": 351.7
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#BA4E84
secondary
#9ACAB2
accent
#D49454
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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