#BA3882#BA3882

#BA3882 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.181 H 349.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA3882
RGBrgb(186, 56, 130)
HSLhsl(326, 54%, 47%)
HSVhsv(326, 70%, 73%)
CMYKcmyk(0%, 69.9%, 30.1%, 27.1%)
CIE-LABlab(45.47, 58.33, -12.49)
CIE-LCHlch(45.47, 59.65, 347.91°)
OKLaboklab(55.38% 0.1778 -0.0326)
OKLCHoklch(55.38% 0.181 349.6)
XYZxyz(25.6944, 14.8820, 22.6341)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3882 #38BA70
analogous
#B138BA #BA3882 #BA3841
triadic
#BA3882 #82BA38 #3882BA
tetradic
#BA3882 #BAB138 #38BA70 #3841BA
square
#BA3882 #BAB138 #38BA70 #3841BA
split-complementary
#BA3882 #41BA38 #38BAB1
monochromatic
#5C1C40 #8B2A61 #BA3882 #CF609F #DD8FBC

Accessibility & contrast

On white

5.28
#BA3882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3882
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3882#FFFFFF#000000##FFFFFF
##BA38821.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D84
Deuteranopia (green-blind)
#70747F
Tritanopia (blue-blind)
#C73158
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3882;
/* rgb */ color: rgb(186, 56, 130);
/* oklch */ color: oklch(55.4% 0.181 349.6);
Tailwind
colors: {
  custom: {
    50: '#d379a6',
    500: '#ba3882',
    950: '#000000',
  },
}
SCSS
$custom: #ba3882;
$custom-light: #d379a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3882",
  "rgb": {
    "r": 186,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 325.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.18072,
    "h": 349.6
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#BA3882
secondary
#86C8A2
accent
#DD8A4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3882

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

Preview Lab → · Contrast checker → · Palette generator →

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