#BA46A4#BA46A4

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

Color values

HEX#BA46A4
RGBrgb(186, 70, 164)
HSLhsl(311, 46%, 50%)
HSVhsv(311, 62%, 73%)
CMYKcmyk(0%, 62.4%, 11.8%, 27.1%)
CIE-LABlab(48.89, 57.47, -27.64)
CIE-LCHlch(48.89, 63.77, 334.31°)
OKLaboklab(58.33% 0.1677 -0.0751)
OKLCHoklch(58.33% 0.184 335.9)
XYZxyz(29.1410, 17.5021, 36.9582)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46A4 #46BA5C
analogous
#9646BA #BA46A4 #BA466A
triadic
#BA46A4 #A4BA46 #46A4BA
tetradic
#BA46A4 #BA9646 #46BA5C #466ABA
square
#BA46A4 #BA9646 #46BA5C #466ABA
split-complementary
#BA46A4 #6ABA46 #46BA96
monochromatic
#612456 #8E357D #BA46A4 #CB73BA #DB9FD0

Accessibility & contrast

On white

4.67
#BA46A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA46A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA46A4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46A4#FFFFFF#000000##FFFFFF
##BA46A41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba46a4;
/* rgb */ color: rgb(186, 70, 164);
/* oklch */ color: oklch(58.3% 0.184 335.9);
Tailwind
colors: {
  custom: {
    50: '#d281bf',
    500: '#ba46a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba46a4;
$custom-light: #d281bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46a4",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 311.379,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58333,
    "c": 0.18375,
    "h": 335.9
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#BA46A4
secondary
#94C89E
accent
#D56B52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA46A4

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

Preview Lab → · Contrast checker → · Palette generator →

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