#BA3581#BA3581

#BA3581 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.184 H 349.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA3581
RGBrgb(186, 53, 129)
HSLhsl(326, 56%, 47%)
HSVhsv(326, 72%, 73%)
CMYKcmyk(0%, 71.5%, 30.6%, 27.1%)
CIE-LABlab(45.04, 59.30, -12.53)
CIE-LCHlch(45.04, 60.61, 348.07°)
OKLaboklab(55.05% 0.1809 -0.0327)
OKLCHoklch(55.05% 0.184 349.8)
XYZxyz(25.4866, 14.5731, 22.2353)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3581 #35BA6E
analogous
#B135BA #BA3581 #BA353F
triadic
#BA3581 #81BA35 #3581BA
tetradic
#BA3581 #BAB135 #35BA6E #353FBA
square
#BA3581 #BAB135 #35BA6E #353FBA
split-complementary
#BA3581 #3FBA35 #35BAB1
monochromatic
#5B1A3F #8A2760 #BA3581 #D05C9E #DE8BBB

Accessibility & contrast

On white

5.37
#BA3581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA3581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3581
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3581#FFFFFF#000000##FFFFFF
##BA35811.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C83
Deuteranopia (green-blind)
#70737E
Tritanopia (blue-blind)
#C82E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3581;
/* rgb */ color: rgb(186, 53, 129);
/* oklch */ color: oklch(55.1% 0.184 349.8);
Tailwind
colors: {
  custom: {
    50: '#d377a5',
    500: '#ba3581',
    950: '#000000',
  },
}
SCSS
$custom: #ba3581;
$custom-light: #d377a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3581",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 325.714,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.18384,
    "h": 349.8
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#BA3581
secondary
#82C8A0
accent
#DF8949
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3581

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

Preview Lab → · Contrast checker → · Palette generator →

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