#BA3282#BA3282

#BA3282 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.188 H 349.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA3282
RGBrgb(186, 50, 130)
HSLhsl(325, 58%, 46%)
HSVhsv(325, 73%, 73%)
CMYKcmyk(0%, 73.1%, 30.1%, 27.1%)
CIE-LABlab(44.71, 60.47, -13.65)
CIE-LCHlch(44.71, 61.99, 347.28°)
OKLaboklab(54.82% 0.1844 -0.0357)
OKLCHoklch(54.82% 0.188 349)
XYZxyz(25.4209, 14.3349, 22.5430)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3282 #32BA6A
analogous
#AE32BA #BA3282 #BA323E
triadic
#BA3282 #82BA32 #3282BA
tetradic
#BA3282 #BAAE32 #32BA6A #323EBA
square
#BA3282 #BAAE32 #32BA6A #323EBA
split-complementary
#BA3282 #3EBA32 #32BAAE
monochromatic
#5A183F #8A2560 #BA3282 #D2579F #DF88BB

Accessibility & contrast

On white

5.43
#BA3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3282
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3282#FFFFFF#000000##FFFFFF
##BA32821.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#6E727F
Tritanopia (blue-blind)
#C72B56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3282;
/* rgb */ color: rgb(186, 50, 130);
/* oklch */ color: oklch(54.8% 0.188 349.0);
Tailwind
colors: {
  custom: {
    50: '#d376a6',
    500: '#ba3282',
    950: '#000000',
  },
}
SCSS
$custom: #ba3282;
$custom-light: #d376a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3282",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 324.706,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.18785,
    "h": 349
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#BA3282
secondary
#7FC99D
accent
#E18647
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3282

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

Preview Lab → · Contrast checker → · Palette generator →

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