#BA3189#BA3189

#BA3189 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.193 H 345.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA3189
RGBrgb(186, 49, 137)
HSLhsl(321, 58%, 46%)
HSVhsv(321, 74%, 73%)
CMYKcmyk(0%, 73.7%, 26.3%, 27.1%)
CIE-LABlab(44.86, 61.67, -17.67)
CIE-LCHlch(44.86, 64.15, 344.01°)
OKLaboklab(55.02% 0.1871 -0.0469)
OKLCHoklch(55.02% 0.193 345.9)
XYZxyz(25.8645, 14.4447, 25.0881)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3189 #31BA62
analogous
#A631BA #BA3189 #BA3144
triadic
#BA3189 #89BA31 #3189BA
tetradic
#BA3189 #BAA631 #31BA62 #3144BA
square
#BA3189 #BAA631 #31BA62 #3144BA
split-complementary
#BA3189 #44BA31 #31BAA6
monochromatic
#591742 #8A2465 #BA3189 #D256A6 #DF86BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3189#FFFFFF#000000##FFFFFF
##BA31891.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)
#435B8B
Deuteranopia (green-blind)
#6C7386
Tritanopia (blue-blind)
#C72E59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3189;
/* rgb */ color: rgb(186, 49, 137);
/* oklch */ color: oklch(55.0% 0.193 345.9);
Tailwind
colors: {
  custom: {
    50: '#d376ab',
    500: '#ba3189',
    950: '#000000',
  },
}
SCSS
$custom: #ba3189;
$custom-light: #d376ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3189",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 321.46,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.19283,
    "h": 345.9
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#BA3189
secondary
#7EC999
accent
#E27E46
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA3189

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

Preview Lab → · Contrast checker → · Palette generator →

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