#BA4196#BA4196

#BA4196 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.1% C 0.181 H 341.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA4196
RGBrgb(186, 65, 150)
HSLhsl(318, 48%, 49%)
HSVhsv(318, 65%, 73%)
CMYKcmyk(0%, 65.1%, 19.4%, 27.1%)
CIE-LABlab(47.53, 57.46, -21.42)
CIE-LCHlch(47.53, 61.33, 339.55°)
OKLaboklab(57.14% 0.1715 -0.0575)
OKLCHoklch(57.14% 0.181 341.5)
XYZxyz(27.6458, 16.4243, 30.5625)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4196 #41BA65
analogous
#A241BA #BA4196 #BA415A
triadic
#BA4196 #96BA41 #4196BA
tetradic
#BA4196 #BAA241 #41BA65 #415ABA
square
#BA4196 #BAA241 #41BA65 #415ABA
split-complementary
#BA4196 #5ABA41 #41BAA2
monochromatic
#5F214D #8D3171 #BA4196 #CC6CAF #DC9AC8

Accessibility & contrast

On white

4.90
#BA4196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA4196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4196
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4196#FFFFFF#000000##FFFFFF
##BA41961.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6499
Deuteranopia (green-blind)
#6E7893
Tritanopia (blue-blind)
#C54366
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4196;
/* rgb */ color: rgb(186, 65, 150);
/* oklch */ color: oklch(57.1% 0.181 341.5);
Tailwind
colors: {
  custom: {
    50: '#d27eb5',
    500: '#ba4196',
    950: '#000000',
  },
}
SCSS
$custom: #ba4196;
$custom-light: #d27eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4196",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 317.851,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.18084,
    "h": 341.5
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#BA4196
secondary
#8FC8A0
accent
#D87850
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA4196

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

Preview Lab → · Contrast checker → · Palette generator →

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