#BA4587#BA4587

#BA4587 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.166 H 348.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4587
RGBrgb(186, 69, 135)
HSLhsl(326, 46%, 50%)
HSVhsv(326, 63%, 73%)
CMYKcmyk(0%, 62.9%, 27.4%, 27.1%)
CIE-LABlab(47.56, 53.73, -12.37)
CIE-LCHlch(47.56, 55.13, 347.04°)
OKLaboklab(56.97% 0.1628 -0.0324)
OKLCHoklch(56.97% 0.166 348.7)
XYZxyz(26.7521, 16.4473, 24.6827)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4587 #45BA78
analogous
#B245BA #BA4587 #BA454D
triadic
#BA4587 #87BA45 #4587BA
tetradic
#BA4587 #BAB245 #45BA78 #454DBA
square
#BA4587 #BAB245 #45BA78 #454DBA
split-complementary
#BA4587 #4DBA45 #45BAB2
monochromatic
#612446 #8D3467 #BA4587 #CB72A4 #DB9EC1

Accessibility & contrast

On white

4.90
#BA4587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BA4587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4587
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4587#FFFFFF#000000##FFFFFF
##BA45871.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4587;
/* rgb */ color: rgb(186, 69, 135);
/* oklch */ color: oklch(57.0% 0.166 348.7);
Tailwind
colors: {
  custom: {
    50: '#d280aa',
    500: '#ba4587',
    950: '#000000',
  },
}
SCSS
$custom: #ba4587;
$custom-light: #d280aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4587",
  "rgb": {
    "r": 186,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 326.154,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.16601,
    "h": 348.7
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#BA4587
secondary
#93C8AA
accent
#D68B52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA4587

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

Preview Lab → · Contrast checker → · Palette generator →

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