#BA5299#BA5299

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

Color values

HEX#BA5299
RGBrgb(186, 82, 153)
HSLhsl(319, 43%, 53%)
HSVhsv(319, 56%, 73%)
CMYKcmyk(0%, 55.9%, 17.7%, 27.1%)
CIE-LABlab(50.42, 50.36, -18.76)
CIE-LCHlch(50.42, 53.74, 339.57°)
OKLaboklab(59.32% 0.1494 -0.0502)
OKLCHoklch(59.32% 0.158 341.4)
XYZxyz(29.0173, 18.7760, 32.2267)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5299 #52BA73
analogous
#A752BA #BA5299 #BA5265
triadic
#BA5299 #99BA52 #5299BA
tetradic
#BA5299 #BAA752 #52BA73 #5265BA
square
#BA5299 #BAA752 #52BA73 #5265BA
split-complementary
#BA5299 #65BA52 #52BAA7
monochromatic
#682A54 #943B78 #BA5299 #CB7EB3 #DDAACD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5299#FFFFFF#000000##000000
##BA52991.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)
#586D9B
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#C4536F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5299;
/* rgb */ color: rgb(186, 82, 153);
/* oklch */ color: oklch(59.3% 0.158 341.4);
Tailwind
colors: {
  custom: {
    50: '#d187b7',
    500: '#ba5299',
    950: '#000000',
  },
}
SCSS
$custom: #ba5299;
$custom-light: #d187b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5299",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 319.038,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.15764,
    "h": 341.4
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#BA5299
secondary
#9DCAAC
accent
#D37D55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5299

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

Preview Lab → · Contrast checker → · Palette generator →

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