#BA499C#BA499C

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

Color values

HEX#BA499C
RGBrgb(186, 73, 156)
HSLhsl(316, 45%, 51%)
HSVhsv(316, 61%, 73%)
CMYKcmyk(0%, 60.8%, 16.1%, 27.1%)
CIE-LABlab(49.02, 54.94, -22.70)
CIE-LCHlch(49.02, 59.45, 337.55°)
OKLaboklab(58.32% 0.1624 -0.0611)
OKLCHoklch(58.32% 0.174 339.4)
XYZxyz(28.6335, 17.6069, 33.3365)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA499C #49BA67
analogous
#9F49BA #BA499C #BA4963
triadic
#BA499C #9CBA49 #499CBA
tetradic
#BA499C #BA9F49 #49BA67 #4963BA
square
#BA499C #BA9F49 #49BA67 #4963BA
split-complementary
#BA499C #63BA49 #49BA9F
monochromatic
#632653 #8F3678 #BA499C #CB75B4 #DCA2CC

Accessibility & contrast

On white

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

On black

4.52
#BA499C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA499C#FFFFFF#000000##FFFFFF
##BA499C1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E699F
Deuteranopia (green-blind)
#707B99
Tritanopia (blue-blind)
#C44C6C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba499c;
/* rgb */ color: rgb(186, 73, 156);
/* oklch */ color: oklch(58.3% 0.174 339.4);
Tailwind
colors: {
  custom: {
    50: '#d282b9',
    500: '#ba499c',
    950: '#000000',
  },
}
SCSS
$custom: #ba499c;
$custom-light: #d282b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba499c",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 315.929,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.17356,
    "h": 339.4
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA499C

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

Preview Lab → · Contrast checker → · Palette generator →

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