#BA3192#BA3192

#BA3192 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.198 H 342.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA3192
RGBrgb(186, 49, 146)
HSLhsl(318, 58%, 46%)
HSVhsv(318, 74%, 73%)
CMYKcmyk(0%, 73.7%, 21.5%, 27.1%)
CIE-LABlab(45.24, 62.83, -22.55)
CIE-LCHlch(45.24, 66.75, 340.26°)
OKLaboklab(55.42% 0.1888 -0.0605)
OKLCHoklch(55.42% 0.198 342.2)
XYZxyz(26.5372, 14.7138, 28.6310)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3192 #31BA59
analogous
#9D31BA #BA3192 #BA314D
triadic
#BA3192 #92BA31 #3192BA
tetradic
#BA3192 #BA9D31 #31BA59 #314DBA
square
#BA3192 #BA9D31 #31BA59 #314DBA
split-complementary
#BA3192 #4DBA31 #31BA9D
monochromatic
#591746 #8A246C #BA3192 #D256AE #DF86C5

Accessibility & contrast

On white

5.33
#BA3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3192
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3192#FFFFFF#000000##FFFFFF
##BA31921.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D95
Deuteranopia (green-blind)
#69738F
Tritanopia (blue-blind)
#C6335E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3192;
/* rgb */ color: rgb(186, 49, 146);
/* oklch */ color: oklch(55.4% 0.198 342.2);
Tailwind
colors: {
  custom: {
    50: '#d376b2',
    500: '#ba3192',
    950: '#000000',
  },
}
SCSS
$custom: #ba3192;
$custom-light: #d376b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3192",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 317.518,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55418,
    "c": 0.19821,
    "h": 342.2
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#BA3192
secondary
#7EC994
accent
#E27446
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3192

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

Preview Lab → · Contrast checker → · Palette generator →

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