#BA49A3#BA49A3

#BA49A3 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.179 H 336.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA49A3
RGBrgb(186, 73, 163)
HSLhsl(312, 45%, 51%)
HSVhsv(312, 61%, 73%)
CMYKcmyk(0%, 60.8%, 12.4%, 27.1%)
CIE-LABlab(49.31, 56.02, -26.38)
CIE-LCHlch(49.31, 61.92, 334.78°)
OKLaboklab(58.63% 0.1637 -0.0715)
OKLCHoklch(58.63% 0.179 336.4)
XYZxyz(29.2434, 17.8509, 36.5486)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49A3 #49BA60
analogous
#9849BA #BA49A3 #BA496A
triadic
#BA49A3 #A3BA49 #49A3BA
tetradic
#BA49A3 #BA9849 #49BA60 #496ABA
square
#BA49A3 #BA9849 #49BA60 #496ABA
split-complementary
#BA49A3 #6ABA49 #49BA98
monochromatic
#632657 #8F367D #BA49A3 #CB75B9 #DCA2D0

Accessibility & contrast

On white

4.60
#BA49A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA49A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA49A3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49A3#FFFFFF#000000##FFFFFF
##BA49A31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA6
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#C34F6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba49a3;
/* rgb */ color: rgb(186, 73, 163);
/* oklch */ color: oklch(58.6% 0.179 336.4);
Tailwind
colors: {
  custom: {
    50: '#d282be',
    500: '#ba49a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba49a3;
$custom-light: #d282be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49a3",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 163
  },
  "hsl": {
    "h": 312.212,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.17867,
    "h": 336.4
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#BA49A3
secondary
#96C8A1
accent
#D56D53
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA49A3

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

Preview Lab → · Contrast checker → · Palette generator →

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