#BA46A5#BA46A5

#BA46A5 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.4% C 0.184 H 335.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA46A5
RGBrgb(186, 70, 165)
HSLhsl(311, 46%, 50%)
HSVhsv(311, 62%, 73%)
CMYKcmyk(0%, 62.4%, 11.3%, 27.1%)
CIE-LABlab(48.93, 57.62, -28.16)
CIE-LCHlch(48.93, 64.14, 333.96°)
OKLaboklab(58.38% 0.1679 -0.0766)
OKLCHoklch(58.38% 0.185 335.5)
XYZxyz(29.2317, 17.5384, 37.4357)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46A5 #46BA5B
analogous
#9546BA #BA46A5 #BA466B
triadic
#BA46A5 #A5BA46 #46A5BA
tetradic
#BA46A5 #BA9546 #46BA5B #466BBA
square
#BA46A5 #BA9546 #46BA5B #466BBA
split-complementary
#BA46A5 #6BBA46 #46BA95
monochromatic
#612456 #8E357E #BA46A5 #CB73BB #DB9FD0

Accessibility & contrast

On white

4.66
#BA46A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA46A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA46A5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46A5#FFFFFF#000000##FFFFFF
##BA46A51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#C34D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba46a5;
/* rgb */ color: rgb(186, 70, 165);
/* oklch */ color: oklch(58.4% 0.184 335.5);
Tailwind
colors: {
  custom: {
    50: '#d281c0',
    500: '#ba46a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba46a5;
$custom-light: #d281c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46a5",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 165
  },
  "hsl": {
    "h": 310.862,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.1845,
    "h": 335.5
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#BA46A5
secondary
#94C89D
accent
#D56A52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA46A5

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

Preview Lab → · Contrast checker → · Palette generator →

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