#BA4CA3#BA4CA3

#BA4CA3 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.0% C 0.174 H 336.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA4CA3
RGBrgb(186, 76, 163)
HSLhsl(313, 44%, 51%)
HSVhsv(313, 59%, 73%)
CMYKcmyk(0%, 59.1%, 12.4%, 27.1%)
CIE-LABlab(49.80, 54.69, -25.63)
CIE-LCHlch(49.80, 60.39, 334.89°)
OKLaboklab(58.99% 0.1598 -0.0694)
OKLCHoklch(58.99% 0.174 336.5)
XYZxyz(29.4453, 18.2546, 36.6159)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CA3 #4CBA63
analogous
#9A4CBA #BA4CA3 #BA4C6C
triadic
#BA4CA3 #A3BA4C #4CA3BA
tetradic
#BA4CA3 #BA9A4C #4CBA63 #4C6CBA
square
#BA4CA3 #BA9A4C #4CBA63 #4C6CBA
split-complementary
#BA4CA3 #6CBA4C #4CBA9A
monochromatic
#652758 #91387E #BA4CA3 #CB78BA #DCA4D0

Accessibility & contrast

On white

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

On black

4.65
#BA4CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CA3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CA3#FFFFFF#000000##000000
##BA4CA31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA6
Deuteranopia (green-blind)
#6F7DA0
Tritanopia (blue-blind)
#C35171
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4ca3;
/* rgb */ color: rgb(186, 76, 163);
/* oklch */ color: oklch(59.0% 0.174 336.5);
Tailwind
colors: {
  custom: {
    50: '#d284be',
    500: '#ba4ca3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ca3;
$custom-light: #d284be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ca3",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 312.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.17422,
    "h": 336.5
  },
  "luminance": 0.18252
}

Semantic roles & 50–950 ramp

primary
#BA4CA3
secondary
#99C9A3
accent
#D46F54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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