#BA4687#BA4687

#BA4687 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.165 H 348.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA4687
RGBrgb(186, 70, 135)
HSLhsl(326, 46%, 50%)
HSVhsv(326, 62%, 73%)
CMYKcmyk(0%, 62.4%, 27.4%, 27.1%)
CIE-LABlab(47.72, 53.29, -12.13)
CIE-LCHlch(47.72, 54.66, 347.18°)
OKLaboklab(57.09% 0.1615 -0.0317)
OKLCHoklch(57.09% 0.165 348.9)
XYZxyz(26.8141, 16.5714, 24.7034)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4687 #46BA79
analogous
#B346BA #BA4687 #BA464D
triadic
#BA4687 #87BA46 #4687BA
tetradic
#BA4687 #BAB346 #46BA79 #464DBA
square
#BA4687 #BAB346 #46BA79 #464DBA
split-complementary
#BA4687 #4DBA46 #46BAB3
monochromatic
#612446 #8E3567 #BA4687 #CB73A4 #DB9FC1

Accessibility & contrast

On white

4.87
#BA4687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA4687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4687
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4687#FFFFFF#000000##FFFFFF
##BA46871.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#757984
Tritanopia (blue-blind)
#C74261
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4687;
/* rgb */ color: rgb(186, 70, 135);
/* oklch */ color: oklch(57.1% 0.165 348.9);
Tailwind
colors: {
  custom: {
    50: '#d280aa',
    500: '#ba4687',
    950: '#000000',
  },
}
SCSS
$custom: #ba4687;
$custom-light: #d280aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4687",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 326.379,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.16457,
    "h": 348.9
  },
  "luminance": 0.16569
}

Semantic roles & 50–950 ramp

primary
#BA4687
secondary
#94C8AB
accent
#D58C52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA4687

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

Preview Lab → · Contrast checker → · Palette generator →

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