#BA4E88#BA4E88

#BA4E88 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.1% C 0.153 H 349.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4E88
RGBrgb(186, 78, 136)
HSLhsl(328, 44%, 52%)
HSVhsv(328, 58%, 73%)
CMYKcmyk(0%, 58.1%, 26.9%, 27.1%)
CIE-LABlab(49.09, 49.81, -10.66)
CIE-LCHlch(49.09, 50.94, 347.93°)
OKLaboklab(58.12% 0.1507 -0.0278)
OKLCHoklch(58.12% 0.153 349.5)
XYZxyz(27.4191, 17.6681, 25.2540)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E88 #4EBA80
analogous
#B64EBA #BA4E88 #BA4E52
triadic
#BA4E88 #88BA4E #4E88BA
tetradic
#BA4E88 #BAB64E #4EBA80 #4E52BA
square
#BA4E88 #BAB64E #4EBA80 #4E52BA
split-complementary
#BA4E88 #52BA4E #4EBAB6
monochromatic
#662849 #923969 #BA4E88 #CB7AA6 #DCA6C3

Accessibility & contrast

On white

4.63
#BA4E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA4E88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E88
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E88#FFFFFF#000000##FFFFFF
##BA4E881.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698A
Deuteranopia (green-blind)
#797C85
Tritanopia (blue-blind)
#C64A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4e88;
/* rgb */ color: rgb(186, 78, 136);
/* oklch */ color: oklch(58.1% 0.153 349.5);
Tailwind
colors: {
  custom: {
    50: '#d285aa',
    500: '#ba4e88',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e88;
$custom-light: #d285aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e88",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 327.778,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5812,
    "c": 0.15319,
    "h": 349.5
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#BA4E88
secondary
#9ACAB0
accent
#D48F54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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