#BA49A5#BA49A5

#BA49A5 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.180 H 335.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA49A5
RGBrgb(186, 73, 165)
HSLhsl(311, 45%, 51%)
HSVhsv(311, 61%, 73%)
CMYKcmyk(0%, 60.8%, 11.3%, 27.1%)
CIE-LABlab(49.40, 56.33, -27.43)
CIE-LCHlch(49.40, 62.65, 334.04°)
OKLaboklab(58.73% 0.1641 -0.0745)
OKLCHoklch(58.73% 0.18 335.6)
XYZxyz(29.4240, 17.9231, 37.4998)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49A5 #49BA5E
analogous
#9649BA #BA49A5 #BA496C
triadic
#BA49A5 #A5BA49 #49A5BA
tetradic
#BA49A5 #BA9649 #49BA5E #496CBA
square
#BA49A5 #BA9649 #49BA5E #496CBA
split-complementary
#BA49A5 #6CBA49 #49BA96
monochromatic
#632658 #8F367F #BA49A5 #CB75BB #DCA2D1

Accessibility & contrast

On white

4.58
#BA49A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA49A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49A5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49A5#FFFFFF#000000##000000
##BA49A51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6BA8
Deuteranopia (green-blind)
#6D7CA2
Tritanopia (blue-blind)
#C34F70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba49a5;
/* rgb */ color: rgb(186, 73, 165);
/* oklch */ color: oklch(58.7% 0.180 335.6);
Tailwind
colors: {
  custom: {
    50: '#d282c0',
    500: '#ba49a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba49a5;
$custom-light: #d282c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49a5",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 311.15,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.18018,
    "h": 335.6
  },
  "luminance": 0.17921
}

Semantic roles & 50–950 ramp

primary
#BA49A5
secondary
#96C8A0
accent
#D56B53
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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