#BA49A0#BA49A0

#BA49A0 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.176 H 337.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA49A0
RGBrgb(186, 73, 160)
HSLhsl(314, 45%, 51%)
HSVhsv(314, 61%, 73%)
CMYKcmyk(0%, 60.8%, 14%, 27.1%)
CIE-LABlab(49.18, 55.55, -24.81)
CIE-LCHlch(49.18, 60.84, 335.93°)
OKLaboklab(58.5% 0.1632 -0.0671)
OKLCHoklch(58.5% 0.176 337.7)
XYZxyz(28.9778, 17.7446, 35.1497)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49A0 #49BA63
analogous
#9B49BA #BA49A0 #BA4967
triadic
#BA49A0 #A0BA49 #49A0BA
tetradic
#BA49A0 #BA9B49 #49BA63 #4967BA
square
#BA49A0 #BA9B49 #49BA63 #4967BA
split-complementary
#BA49A0 #67BA49 #49BA9B
monochromatic
#632655 #8F367B #BA49A0 #CB75B7 #DCA2CE

Accessibility & contrast

On white

4.62
#BA49A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA49A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA49A0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49A0#FFFFFF#000000##FFFFFF
##BA49A01.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA3
Deuteranopia (green-blind)
#6F7B9D
Tritanopia (blue-blind)
#C34E6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba49a0;
/* rgb */ color: rgb(186, 73, 160);
/* oklch */ color: oklch(58.5% 0.176 337.7);
Tailwind
colors: {
  custom: {
    50: '#d282bc',
    500: '#ba49a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba49a0;
$custom-light: #d282bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49a0",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 160
  },
  "hsl": {
    "h": 313.805,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58495,
    "c": 0.17644,
    "h": 337.7
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#BA49A0
secondary
#96C8A2
accent
#D57153
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA49A0

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

Preview Lab → · Contrast checker → · Palette generator →

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