#BA4CA2#BA4CA2

#BA4CA2 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.9% C 0.173 H 336.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA4CA2
RGBrgb(186, 76, 162)
HSLhsl(313, 44%, 51%)
HSVhsv(313, 59%, 73%)
CMYKcmyk(0%, 59.1%, 12.9%, 27.1%)
CIE-LABlab(49.76, 54.53, -25.10)
CIE-LCHlch(49.76, 60.03, 335.28°)
OKLaboklab(58.95% 0.1596 -0.0679)
OKLCHoklch(58.95% 0.173 336.9)
XYZxyz(29.3561, 18.2190, 36.1459)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CA2 #4CBA64
analogous
#9B4CBA #BA4CA2 #BA4C6B
triadic
#BA4CA2 #A2BA4C #4CA2BA
tetradic
#BA4CA2 #BA9B4C #4CBA64 #4C6BBA
square
#BA4CA2 #BA9B4C #4CBA64 #4C6BBA
split-complementary
#BA4CA2 #6BBA4C #4CBA9B
monochromatic
#652757 #91387E #BA4CA2 #CB78B9 #DCA4D0

Accessibility & contrast

On white

4.52
#BA4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA4CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CA2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CA2#FFFFFF#000000##000000
##BA4CA21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#6F7C9F
Tritanopia (blue-blind)
#C35170
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4ca2;
/* rgb */ color: rgb(186, 76, 162);
/* oklch */ color: oklch(58.9% 0.173 336.9);
Tailwind
colors: {
  custom: {
    50: '#d284bd',
    500: '#ba4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ca2;
$custom-light: #d284bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ca2",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 313.091,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.17347,
    "h": 336.9
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#BA4CA2
secondary
#99C9A3
accent
#D47054
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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