#BA5581#BA5581

#BA5581 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.8% C 0.139 H 354.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5581
RGBrgb(186, 85, 129)
HSLhsl(334, 42%, 53%)
HSVhsv(334, 54%, 73%)
CMYKcmyk(0%, 54.3%, 30.6%, 27.1%)
CIE-LABlab(50.13, 45.52, -4.92)
CIE-LCHlch(50.13, 45.79, 353.83°)
OKLaboklab(58.81% 0.1382 -0.0124)
OKLCHoklch(58.81% 0.139 354.9)
XYZxyz(27.4618, 18.5237, 22.8938)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5581 #55BA8E
analogous
#BA55B3 #BA5581 #BA5B55
triadic
#BA5581 #81BA55 #5581BA
tetradic
#BA5581 #B3BA55 #55BA8E #5B55BA
square
#BA5581 #B3BA55 #55BA8E #5B55BA
split-complementary
#BA5581 #55BA5B #55B3BA
monochromatic
#6A2B46 #953D63 #BA5581 #CC81A1 #DDACC2

Accessibility & contrast

On white

4.46
#BA5581 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA5581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5581
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5581#FFFFFF#000000##000000
##BA55811.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636C82
Deuteranopia (green-blind)
#7E7E7F
Tritanopia (blue-blind)
#C74F66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5581;
/* rgb */ color: rgb(186, 85, 129);
/* oklch */ color: oklch(58.8% 0.139 354.9);
Tailwind
colors: {
  custom: {
    50: '#d289a5',
    500: '#ba5581',
    950: '#000000',
  },
}
SCSS
$custom: #ba5581;
$custom-light: #d289a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5581",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 129
  },
  "hsl": {
    "h": 333.861,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.13872,
    "h": 354.9
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#BA5581
secondary
#A0CBB8
accent
#D29C56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5581

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

Preview Lab → · Contrast checker → · Palette generator →

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