#BA4E86#BA4E86

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

Color values

HEX#BA4E86
RGBrgb(186, 78, 134)
HSLhsl(329, 44%, 52%)
HSVhsv(329, 58%, 73%)
CMYKcmyk(0%, 58.1%, 28%, 27.1%)
CIE-LABlab(49.02, 49.54, -9.56)
CIE-LCHlch(49.02, 50.46, 349.08°)
OKLaboklab(58.05% 0.1501 -0.0248)
OKLCHoklch(58.05% 0.152 350.6)
XYZxyz(27.2783, 17.6117, 24.5124)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E86 #4EBA82
analogous
#B84EBA #BA4E86 #BA4E50
triadic
#BA4E86 #86BA4E #4E86BA
tetradic
#BA4E86 #BAB84E #4EBA82 #4E50BA
square
#BA4E86 #BAB84E #4EBA82 #4E50BA
split-complementary
#BA4E86 #50BA4E #4EBAB8
monochromatic
#662848 #923967 #BA4E86 #CB7AA4 #DCA6C2

Accessibility & contrast

On white

4.64
#BA4E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA4E86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E86
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E86#FFFFFF#000000##FFFFFF
##BA4E861.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6888
Deuteranopia (green-blind)
#797C83
Tritanopia (blue-blind)
#C74A64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e86;
/* rgb */ color: rgb(186, 78, 134);
/* oklch */ color: oklch(58.0% 0.152 350.6);
Tailwind
colors: {
  custom: {
    50: '#d285a9',
    500: '#ba4e86',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e86;
$custom-light: #d285a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e86",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 328.889,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.15211,
    "h": 350.6
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#BA4E86
secondary
#9ACAB1
accent
#D49254
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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