#BA4AA4#BA4AA4

#BA4AA4 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.178 H 336.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA4AA4
RGBrgb(186, 74, 164)
HSLhsl(312, 45%, 51%)
HSVhsv(312, 60%, 73%)
CMYKcmyk(0%, 60.2%, 11.8%, 27.1%)
CIE-LABlab(49.52, 55.73, -26.66)
CIE-LCHlch(49.52, 61.78, 334.44°)
OKLaboklab(58.8% 0.1626 -0.0723)
OKLCHoklch(58.8% 0.178 336)
XYZxyz(29.3996, 18.0193, 37.0444)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AA4 #4ABA60
analogous
#984ABA #BA4AA4 #BA4A6C
triadic
#BA4AA4 #A4BA4A #4AA4BA
tetradic
#BA4AA4 #BA984A #4ABA60 #4A6CBA
square
#BA4AA4 #BA984A #4ABA60 #4A6CBA
split-complementary
#BA4AA4 #6CBA4A #4ABA98
monochromatic
#642658 #90377E #BA4AA4 #CB76BA #DCA3D1

Accessibility & contrast

On white

4.56
#BA4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA4AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AA4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AA4#FFFFFF#000000##000000
##BA4AA41.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA7
Deuteranopia (green-blind)
#6E7CA1
Tritanopia (blue-blind)
#C35070
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4aa4;
/* rgb */ color: rgb(186, 74, 164);
/* oklch */ color: oklch(58.8% 0.178 336.0);
Tailwind
colors: {
  custom: {
    50: '#d283bf',
    500: '#ba4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4aa4;
$custom-light: #d283bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4aa4",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 311.786,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.17795,
    "h": 336
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#BA4AA4
secondary
#97C9A1
accent
#D56D53
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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