#BA4381#BA4381

#BA4381 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.5% C 0.166 H 351.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA4381
RGBrgb(186, 67, 129)
HSLhsl(329, 47%, 50%)
HSVhsv(329, 64%, 73%)
CMYKcmyk(0%, 64%, 30.6%, 27.1%)
CIE-LABlab(47.03, 53.82, -9.54)
CIE-LCHlch(47.03, 54.65, 349.95°)
OKLaboklab(56.51% 0.1638 -0.0247)
OKLCHoklch(56.51% 0.166 351.4)
XYZxyz(26.2206, 16.0412, 22.4800)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4381 #43BA7C
analogous
#B843BA #BA4381 #BA4346
triadic
#BA4381 #81BA43 #4381BA
tetradic
#BA4381 #BAB843 #43BA7C #4346BA
square
#BA4381 #BAB843 #43BA7C #4346BA
split-complementary
#BA4381 #46BA43 #43BAB8
monochromatic
#602343 #8D3362 #BA4381 #CB6F9F #DB9CBD

Accessibility & contrast

On white

4.99
#BA4381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA4381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4381
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4381#FFFFFF#000000##FFFFFF
##BA43811.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#75777E
Tritanopia (blue-blind)
#C73D5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4381;
/* rgb */ color: rgb(186, 67, 129);
/* oklch */ color: oklch(56.5% 0.166 351.4);
Tailwind
colors: {
  custom: {
    50: '#d27ea5',
    500: '#ba4381',
    950: '#000000',
  },
}
SCSS
$custom: #ba4381;
$custom-light: #d27ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4381",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 328.739,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.16566,
    "h": 351.4
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#BA4381
secondary
#91C8AB
accent
#D79151
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4381

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

Preview Lab → · Contrast checker → · Palette generator →

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