#BA499B#BA499B

#BA499B is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.173 H 339.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA499B
RGBrgb(186, 73, 155)
HSLhsl(316, 45%, 51%)
HSVhsv(316, 61%, 73%)
CMYKcmyk(0%, 60.8%, 16.7%, 27.1%)
CIE-LABlab(48.97, 54.79, -22.17)
CIE-LCHlch(48.97, 59.11, 337.97°)
OKLaboklab(58.27% 0.1622 -0.0596)
OKLCHoklch(58.27% 0.173 339.8)
XYZxyz(28.5492, 17.5732, 32.8923)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA499B #49BA68
analogous
#A049BA #BA499B #BA4962
triadic
#BA499B #9BBA49 #499BBA
tetradic
#BA499B #BAA049 #49BA68 #4962BA
square
#BA499B #BAA049 #49BA68 #4962BA
split-complementary
#BA499B #62BA49 #49BAA0
monochromatic
#632652 #8F3677 #BA499B #CB75B3 #DCA2CC

Accessibility & contrast

On white

4.65
#BA499B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA499B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA499B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA499B#FFFFFF#000000##FFFFFF
##BA499B1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F699E
Deuteranopia (green-blind)
#707B98
Tritanopia (blue-blind)
#C44C6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba499b;
/* rgb */ color: rgb(186, 73, 155);
/* oklch */ color: oklch(58.3% 0.173 339.8);
Tailwind
colors: {
  custom: {
    50: '#d282b8',
    500: '#ba499b',
    950: '#000000',
  },
}
SCSS
$custom: #ba499b;
$custom-light: #d282b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba499b",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 316.46,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.17285,
    "h": 339.8
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#BA499B
secondary
#96C8A4
accent
#D57753
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA499B

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

Preview Lab → · Contrast checker → · Palette generator →

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