#BA499F#BA499F

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

Color values

HEX#BA499F
RGBrgb(186, 73, 159)
HSLhsl(314, 45%, 51%)
HSVhsv(314, 61%, 73%)
CMYKcmyk(0%, 60.8%, 14.5%, 27.1%)
CIE-LABlab(49.14, 55.40, -24.29)
CIE-LCHlch(49.14, 60.49, 336.33°)
OKLaboklab(58.45% 0.163 -0.0656)
OKLCHoklch(58.45% 0.176 338.1)
XYZxyz(28.8907, 17.7098, 34.6909)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA499F #49BA64
analogous
#9C49BA #BA499F #BA4966
triadic
#BA499F #9FBA49 #499FBA
tetradic
#BA499F #BA9C49 #49BA64 #4966BA
square
#BA499F #BA9C49 #49BA64 #4966BA
split-complementary
#BA499F #66BA49 #49BA9C
monochromatic
#632654 #8F367A #BA499F #CB75B6 #DCA2CE

Accessibility & contrast

On white

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

On black

4.54
#BA499F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA499F#FFFFFF#000000##FFFFFF
##BA499F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba499f;
/* rgb */ color: rgb(186, 73, 159);
/* oklch */ color: oklch(58.5% 0.176 338.1);
Tailwind
colors: {
  custom: {
    50: '#d282bb',
    500: '#ba499f',
    950: '#000000',
  },
}
SCSS
$custom: #ba499f;
$custom-light: #d282bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba499f",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 314.336,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.17572,
    "h": 338.1
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA499F

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

Preview Lab → · Contrast checker → · Palette generator →

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