#BA4487#BA4487

#BA4487 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.167 H 348.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA4487
RGBrgb(186, 68, 135)
HSLhsl(326, 46%, 50%)
HSVhsv(326, 63%, 73%)
CMYKcmyk(0%, 63.4%, 27.4%, 27.1%)
CIE-LABlab(47.40, 54.16, -12.61)
CIE-LCHlch(47.40, 55.60, 346.90°)
OKLaboklab(56.86% 0.1642 -0.033)
OKLCHoklch(56.86% 0.167 348.6)
XYZxyz(26.6911, 16.3253, 24.6624)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4487 #44BA77
analogous
#B244BA #BA4487 #BA444C
triadic
#BA4487 #87BA44 #4487BA
tetradic
#BA4487 #BAB244 #44BA77 #444CBA
square
#BA4487 #BAB244 #44BA77 #444CBA
split-complementary
#BA4487 #4CBA44 #44BAB2
monochromatic
#602346 #8D3466 #BA4487 #CB70A4 #DB9DC0

Accessibility & contrast

On white

4.92
#BA4487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA4487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4487
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4487#FFFFFF#000000##FFFFFF
##BA44871.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536389
Deuteranopia (green-blind)
#747884
Tritanopia (blue-blind)
#C74060
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4487;
/* rgb */ color: rgb(186, 68, 135);
/* oklch */ color: oklch(56.9% 0.167 348.6);
Tailwind
colors: {
  custom: {
    50: '#d27faa',
    500: '#ba4487',
    950: '#000000',
  },
}
SCSS
$custom: #ba4487;
$custom-light: #d27faa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4487",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 135
  },
  "hsl": {
    "h": 325.932,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.16744,
    "h": 348.6
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#BA4487
secondary
#92C8A9
accent
#D68B52
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #BA4487

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

Preview Lab → · Contrast checker → · Palette generator →

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