#BA519D#BA519D

#BA519D is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.4% C 0.162 H 339.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA519D
RGBrgb(186, 81, 157)
HSLhsl(317, 43%, 52%)
HSVhsv(317, 56%, 73%)
CMYKcmyk(0%, 56.5%, 15.6%, 27.1%)
CIE-LABlab(50.41, 51.45, -21.15)
CIE-LCHlch(50.41, 55.63, 337.65°)
OKLaboklab(59.35% 0.1518 -0.0569)
OKLCHoklch(59.35% 0.162 339.5)
XYZxyz(29.2784, 18.7606, 33.9709)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA519D #51BA6E
analogous
#A251BA #BA519D #BA5169
triadic
#BA519D #9DBA51 #519DBA
tetradic
#BA519D #BAA251 #51BA6E #5169BA
square
#BA519D #BAA251 #51BA6E #5169BA
split-complementary
#BA519D #69BA51 #51BAA2
monochromatic
#682956 #933A7B #BA519D #CB7DB6 #DDA9CE

Accessibility & contrast

On white

4.42
#BA519D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BA519D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA519D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA519D#FFFFFF#000000##000000
##BA519D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9F
Deuteranopia (green-blind)
#747E9A
Tritanopia (blue-blind)
#C45470
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba519d;
/* rgb */ color: rgb(186, 81, 157);
/* oklch */ color: oklch(59.4% 0.162 339.5);
Tailwind
colors: {
  custom: {
    50: '#d187ba',
    500: '#ba519d',
    950: '#000000',
  },
}
SCSS
$custom: #ba519d;
$custom-light: #d187ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba519d",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 316.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.16207,
    "h": 339.5
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#BA519D
secondary
#9DCAA9
accent
#D37855
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA519D

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

Preview Lab → · Contrast checker → · Palette generator →

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