#BA3A88#BA3A88

#BA3A88 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.181 H 347.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA3A88
RGBrgb(186, 58, 136)
HSLhsl(323, 52%, 48%)
HSVhsv(323, 69%, 73%)
CMYKcmyk(0%, 68.8%, 26.9%, 27.1%)
CIE-LABlab(45.97, 58.33, -15.38)
CIE-LCHlch(45.97, 60.32, 345.23°)
OKLaboklab(55.82% 0.1769 -0.0406)
OKLCHoklch(55.82% 0.182 347.1)
XYZxyz(26.2078, 15.2456, 24.8503)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A88 #3ABA6C
analogous
#AC3ABA #BA3A88 #BA3A48
triadic
#BA3A88 #88BA3A #3A88BA
tetradic
#BA3A88 #BAAC3A #3ABA6C #3A48BA
square
#BA3A88 #BAAC3A #3ABA6C #3A48BA
split-complementary
#BA3A88 #48BA3A #3ABAAC
monochromatic
#5D1D44 #8B2B66 #BA3A88 #CE63A4 #DD92BF

Accessibility & contrast

On white

5.19
#BA3A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA3A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A88
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A88#FFFFFF#000000##FFFFFF
##BA3A881.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8A
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#C7365C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3a88;
/* rgb */ color: rgb(186, 58, 136);
/* oklch */ color: oklch(55.8% 0.181 347.1);
Tailwind
colors: {
  custom: {
    50: '#d37aaa',
    500: '#ba3a88',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a88;
$custom-light: #d37aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a88",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 323.438,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.1815,
    "h": 347.1
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#BA3A88
secondary
#88C8A1
accent
#DC844C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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