#BA4E85#BA4E85

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

Color values

HEX#BA4E85
RGBrgb(186, 78, 133)
HSLhsl(329, 44%, 52%)
HSVhsv(329, 58%, 73%)
CMYKcmyk(0%, 58.1%, 28.5%, 27.1%)
CIE-LABlab(48.99, 49.41, -9.01)
CIE-LCHlch(48.99, 50.23, 349.66°)
OKLaboklab(58.01% 0.1498 -0.0233)
OKLCHoklch(58.01% 0.152 351.1)
XYZxyz(27.2088, 17.5840, 24.1468)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E85 #4EBA83
analogous
#B94EBA #BA4E85 #BA4E4F
triadic
#BA4E85 #85BA4E #4E85BA
tetradic
#BA4E85 #BAB94E #4EBA83 #4E4FBA
square
#BA4E85 #BAB94E #4EBA83 #4E4FBA
split-complementary
#BA4E85 #4FBA4E #4EBAB9
monochromatic
#662847 #923966 #BA4E85 #CB7AA3 #DCA6C2

Accessibility & contrast

On white

4.65
#BA4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4E85
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E85#FFFFFF#000000##FFFFFF
##BA4E851.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6887
Deuteranopia (green-blind)
#797C82
Tritanopia (blue-blind)
#C74964
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4e85;
/* rgb */ color: rgb(186, 78, 133);
/* oklch */ color: oklch(58.0% 0.152 351.1);
Tailwind
colors: {
  custom: {
    50: '#d285a8',
    500: '#ba4e85',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e85;
$custom-light: #d285a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e85",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 329.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58009,
    "c": 0.15158,
    "h": 351.1
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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