#BA3480#BA3480

#BA3480 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.185 H 350.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA3480
RGBrgb(186, 52, 128)
HSLhsl(326, 56%, 47%)
HSVhsv(326, 72%, 73%)
CMYKcmyk(0%, 72%, 31.2%, 27.1%)
CIE-LABlab(44.88, 59.54, -12.16)
CIE-LCHlch(44.88, 60.77, 348.45°)
OKLaboklab(54.92% 0.1818 -0.0317)
OKLCHoklch(54.92% 0.185 350.1)
XYZxyz(25.3753, 14.4565, 21.8719)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3480 #34BA6E
analogous
#B134BA #BA3480 #BA343D
triadic
#BA3480 #80BA34 #3480BA
tetradic
#BA3480 #BAB134 #34BA6E #343DBA
square
#BA3480 #BAB134 #34BA6E #343DBA
split-complementary
#BA3480 #3DBA34 #34BAB1
monochromatic
#5A193E #8A275F #BA3480 #D15A9E #DE8ABA

Accessibility & contrast

On white

5.40
#BA3480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA3480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3480
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3480#FFFFFF#000000##FFFFFF
##BA34801.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B82
Deuteranopia (green-blind)
#70737D
Tritanopia (blue-blind)
#C82C55
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3480;
/* rgb */ color: rgb(186, 52, 128);
/* oklch */ color: oklch(54.9% 0.185 350.1);
Tailwind
colors: {
  custom: {
    50: '#d377a4',
    500: '#ba3480',
    950: '#000000',
  },
}
SCSS
$custom: #ba3480;
$custom-light: #d377a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3480",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 325.97,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.18451,
    "h": 350.1
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#BA3480
secondary
#81C8A0
accent
#E08A48
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3480

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

Preview Lab → · Contrast checker → · Palette generator →

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