#BA3188#BA3188

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

Color values

HEX#BA3188
RGBrgb(186, 49, 136)
HSLhsl(322, 58%, 46%)
HSVhsv(322, 74%, 73%)
CMYKcmyk(0%, 73.7%, 26.9%, 27.1%)
CIE-LABlab(44.82, 61.54, -17.13)
CIE-LCHlch(44.82, 63.88, 344.45°)
OKLaboklab(54.98% 0.1868 -0.0453)
OKLCHoklch(54.98% 0.192 346.4)
XYZxyz(25.7931, 14.4161, 24.7120)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3188 #31BA63
analogous
#A731BA #BA3188 #BA3143
triadic
#BA3188 #88BA31 #3188BA
tetradic
#BA3188 #BAA731 #31BA63 #3143BA
square
#BA3188 #BAA731 #31BA63 #3143BA
split-complementary
#BA3188 #43BA31 #31BAA7
monochromatic
#591741 #8A2465 #BA3188 #D256A5 #DF86BF

Accessibility & contrast

On white

5.41
#BA3188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA3188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3188
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3188#FFFFFF#000000##FFFFFF
##BA31881.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8A
Deuteranopia (green-blind)
#6C7385
Tritanopia (blue-blind)
#C72D58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3188;
/* rgb */ color: rgb(186, 49, 136);
/* oklch */ color: oklch(55.0% 0.192 346.4);
Tailwind
colors: {
  custom: {
    50: '#d376aa',
    500: '#ba3188',
    950: '#000000',
  },
}
SCSS
$custom: #ba3188;
$custom-light: #d376aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3188",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 321.898,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.19226,
    "h": 346.4
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3188

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

Preview Lab → · Contrast checker → · Palette generator →

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