#BA3182#BA3182

#BA3182 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.189 H 348.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA3182
RGBrgb(186, 49, 130)
HSLhsl(325, 58%, 46%)
HSVhsv(325, 74%, 73%)
CMYKcmyk(0%, 73.7%, 30.1%, 27.1%)
CIE-LABlab(44.59, 60.81, -13.83)
CIE-LCHlch(44.59, 62.36, 347.19°)
OKLaboklab(54.73% 0.1855 -0.0362)
OKLCHoklch(54.73% 0.189 348.9)
XYZxyz(25.3786, 14.2503, 22.5289)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3182 #31BA69
analogous
#AD31BA #BA3182 #BA313D
triadic
#BA3182 #82BA31 #3182BA
tetradic
#BA3182 #BAAD31 #31BA69 #313DBA
square
#BA3182 #BAAD31 #31BA69 #313DBA
split-complementary
#BA3182 #3DBA31 #31BAAD
monochromatic
#59173E #8A2460 #BA3182 #D2569F #DF86BB

Accessibility & contrast

On white

5.46
#BA3182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA3182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3182
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3182#FFFFFF#000000##FFFFFF
##BA31821.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#6E727F
Tritanopia (blue-blind)
#C72A55
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3182;
/* rgb */ color: rgb(186, 49, 130);
/* oklch */ color: oklch(54.7% 0.189 348.9);
Tailwind
colors: {
  custom: {
    50: '#d376a6',
    500: '#ba3182',
    950: '#000000',
  },
}
SCSS
$custom: #ba3182;
$custom-light: #d376a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3182",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 324.526,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.18899,
    "h": 348.9
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#BA3182
secondary
#7EC99D
accent
#E28646
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3182

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

Preview Lab → · Contrast checker → · Palette generator →

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