#BA4B87#BA4B87

#BA4B87 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.7% C 0.157 H 349.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BA4B87
RGBrgb(186, 75, 135)
HSLhsl(328, 45%, 51%)
HSVhsv(328, 60%, 73%)
CMYKcmyk(0%, 59.7%, 27.4%, 27.1%)
CIE-LABlab(48.54, 51.06, -10.88)
CIE-LCHlch(48.54, 52.21, 347.97°)
OKLaboklab(57.7% 0.1546 -0.0284)
OKLCHoklch(57.7% 0.157 349.6)
XYZxyz(27.1400, 17.2232, 24.8120)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B87 #4BBA7E
analogous
#B54BBA #BA4B87 #BA4B4F
triadic
#BA4B87 #87BA4B #4B87BA
tetradic
#BA4B87 #BAB54B #4BBA7E #4B4FBA
square
#BA4B87 #BAB54B #4BBA7E #4B4FBA
split-complementary
#BA4B87 #4FBA4B #4BBAB5
monochromatic
#642648 #903768 #BA4B87 #CB77A4 #DCA3C2

Accessibility & contrast

On white

4.73
#BA4B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B87
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B87#FFFFFF#000000##FFFFFF
##BA4B871.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#777A84
Tritanopia (blue-blind)
#C64763
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4b87;
/* rgb */ color: rgb(186, 75, 135);
/* oklch */ color: oklch(57.7% 0.157 349.6);
Tailwind
colors: {
  custom: {
    50: '#d283aa',
    500: '#ba4b87',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b87;
$custom-light: #d283aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b87",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 327.568,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.1572,
    "h": 349.6
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#BA4B87
secondary
#98C9AE
accent
#D48F54
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #BA4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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