#BA5099#BA5099

#BA5099 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.1% C 0.161 H 341.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5099
RGBrgb(186, 80, 153)
HSLhsl(319, 43%, 52%)
HSVhsv(319, 57%, 73%)
CMYKcmyk(0%, 57%, 17.7%, 27.1%)
CIE-LABlab(50.07, 51.31, -19.30)
CIE-LCHlch(50.07, 54.82, 339.39°)
OKLaboklab(59.05% 0.1523 -0.0517)
OKLCHoklch(59.05% 0.161 341.3)
XYZxyz(28.8687, 18.4787, 32.1771)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5099 #50BA71
analogous
#A650BA #BA5099 #BA5064
triadic
#BA5099 #99BA50 #5099BA
tetradic
#BA5099 #BAA650 #50BA71 #5064BA
square
#BA5099 #BAA650 #50BA71 #5064BA
split-complementary
#BA5099 #64BA50 #50BAA6
monochromatic
#672954 #933A77 #BA5099 #CB7CB3 #DDA8CC

Accessibility & contrast

On white

4.47
#BA5099 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA5099 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5099
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5099#FFFFFF#000000##000000
##BA50991.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#757D96
Tritanopia (blue-blind)
#C4516E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5099;
/* rgb */ color: rgb(186, 80, 153);
/* oklch */ color: oklch(59.1% 0.161 341.3);
Tailwind
colors: {
  custom: {
    50: '#d186b7',
    500: '#ba5099',
    950: '#000000',
  },
}
SCSS
$custom: #ba5099;
$custom-light: #d186b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5099",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 318.679,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.16079,
    "h": 341.3
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#BA5099
secondary
#9CCAAA
accent
#D37C55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA5099

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

Preview Lab → · Contrast checker → · Palette generator →

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