#BA49A2#BA49A2

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

Color values

HEX#BA49A2
RGBrgb(186, 73, 162)
HSLhsl(313, 45%, 51%)
HSVhsv(313, 61%, 73%)
CMYKcmyk(0%, 60.8%, 12.9%, 27.1%)
CIE-LABlab(49.27, 55.86, -25.86)
CIE-LCHlch(49.27, 61.56, 335.16°)
OKLaboklab(58.59% 0.1636 -0.0701)
OKLCHoklch(58.59% 0.178 336.8)
XYZxyz(29.1542, 17.8152, 36.0786)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49A2 #49BA61
analogous
#9949BA #BA49A2 #BA4969
triadic
#BA49A2 #A2BA49 #49A2BA
tetradic
#BA49A2 #BA9949 #49BA61 #4969BA
square
#BA49A2 #BA9949 #49BA61 #4969BA
split-complementary
#BA49A2 #69BA49 #49BA99
monochromatic
#632656 #8F367D #BA49A2 #CB75B9 #DCA2CF

Accessibility & contrast

On white

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

On black

4.56
#BA49A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA49A2#FFFFFF#000000##FFFFFF
##BA49A21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#C34E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba49a2;
/* rgb */ color: rgb(186, 73, 162);
/* oklch */ color: oklch(58.6% 0.178 336.8);
Tailwind
colors: {
  custom: {
    50: '#d282bd',
    500: '#ba49a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba49a2;
$custom-light: #d282bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49a2",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 312.743,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.17792,
    "h": 336.8
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#BA49A2
secondary
#96C8A1
accent
#D56F53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA49A2

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

Preview Lab → · Contrast checker → · Palette generator →

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