#BA4883#BA4883

#BA4883 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.2% C 0.160 H 351.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA4883
RGBrgb(186, 72, 131)
HSLhsl(329, 45%, 51%)
HSVhsv(329, 61%, 73%)
CMYKcmyk(0%, 61.3%, 29.6%, 27.1%)
CIE-LABlab(47.90, 51.89, -9.44)
CIE-LCHlch(47.90, 52.74, 349.69°)
OKLaboklab(57.18% 0.1576 -0.0244)
OKLCHoklch(57.18% 0.16 351.2)
XYZxyz(26.6650, 16.7152, 23.2904)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4883 #48BA7F
analogous
#B848BA #BA4883 #BA484A
triadic
#BA4883 #83BA48 #4883BA
tetradic
#BA4883 #BAB848 #48BA7F #484ABA
square
#BA4883 #BAB848 #48BA7F #484ABA
split-complementary
#BA4883 #4ABA48 #48BAB8
monochromatic
#622545 #8F3664 #BA4883 #CB74A1 #DCA1BF

Accessibility & contrast

On white

4.84
#BA4883 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA4883 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4883
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4883#FFFFFF#000000##FFFFFF
##BA48831.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586585
Deuteranopia (green-blind)
#777980
Tritanopia (blue-blind)
#C74360
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4883;
/* rgb */ color: rgb(186, 72, 131);
/* oklch */ color: oklch(57.2% 0.160 351.2);
Tailwind
colors: {
  custom: {
    50: '#d281a7',
    500: '#ba4883',
    950: '#000000',
  },
}
SCSS
$custom: #ba4883;
$custom-light: #d281a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4883",
  "rgb": {
    "r": 186,
    "g": 72,
    "b": 131
  },
  "hsl": {
    "h": 328.947,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.15951,
    "h": 351.2
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#BA4883
secondary
#96C8AE
accent
#D59253
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4883

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

Preview Lab → · Contrast checker → · Palette generator →

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