#BA499E#BA499E

#BA499E is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.4% C 0.175 H 338.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA499E
RGBrgb(186, 73, 158)
HSLhsl(315, 45%, 51%)
HSVhsv(315, 61%, 73%)
CMYKcmyk(0%, 60.8%, 15.1%, 27.1%)
CIE-LABlab(49.10, 55.25, -23.76)
CIE-LCHlch(49.10, 60.14, 336.73°)
OKLaboklab(58.4% 0.1628 -0.0641)
OKLCHoklch(58.4% 0.175 338.5)
XYZxyz(28.8043, 17.6752, 34.2357)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA499E #49BA65
analogous
#9D49BA #BA499E #BA4965
triadic
#BA499E #9EBA49 #499EBA
tetradic
#BA499E #BA9D49 #49BA65 #4965BA
square
#BA499E #BA9D49 #49BA65 #4965BA
split-complementary
#BA499E #65BA49 #49BA9D
monochromatic
#632654 #8F3679 #BA499E #CB75B6 #DCA2CD

Accessibility & contrast

On white

4.63
#BA499E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA499E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA499E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA499E#FFFFFF#000000##FFFFFF
##BA499E1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D69A1
Deuteranopia (green-blind)
#6F7B9B
Tritanopia (blue-blind)
#C44D6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba499e;
/* rgb */ color: rgb(186, 73, 158);
/* oklch */ color: oklch(58.4% 0.175 338.5);
Tailwind
colors: {
  custom: {
    50: '#d282bb',
    500: '#ba499e',
    950: '#000000',
  },
}
SCSS
$custom: #ba499e;
$custom-light: #d282bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba499e",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 314.867,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58404,
    "c": 0.17499,
    "h": 338.5
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#BA499E
secondary
#96C8A3
accent
#D57353
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA499E

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

Preview Lab → · Contrast checker → · Palette generator →

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