#BA509B#BA509B

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

Color values

HEX#BA509B
RGBrgb(186, 80, 155)
HSLhsl(318, 43%, 52%)
HSVhsv(318, 57%, 73%)
CMYKcmyk(0%, 57%, 16.7%, 27.1%)
CIE-LABlab(50.15, 51.61, -20.36)
CIE-LCHlch(50.15, 55.48, 338.47°)
OKLaboklab(59.14% 0.1527 -0.0546)
OKLCHoklch(59.14% 0.162 340.3)
XYZxyz(29.0353, 18.5454, 33.0544)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA509B #50BA6F
analogous
#A450BA #BA509B #BA5066
triadic
#BA509B #9BBA50 #509BBA
tetradic
#BA509B #BAA450 #50BA6F #5066BA
square
#BA509B #BAA450 #50BA6F #5066BA
split-complementary
#BA509B #66BA50 #50BAA4
monochromatic
#672955 #933A79 #BA509B #CB7CB4 #DDA8CD

Accessibility & contrast

On white

4.46
#BA509B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA509B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA509B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA509B#FFFFFF#000000##000000
##BA509B1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566D9D
Deuteranopia (green-blind)
#747E98
Tritanopia (blue-blind)
#C4526E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba509b;
/* rgb */ color: rgb(186, 80, 155);
/* oklch */ color: oklch(59.1% 0.162 340.3);
Tailwind
colors: {
  custom: {
    50: '#d186b8',
    500: '#ba509b',
    950: '#000000',
  },
}
SCSS
$custom: #ba509b;
$custom-light: #d186b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba509b",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 317.547,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.1622,
    "h": 340.3
  },
  "luminance": 0.18543
}

Semantic roles & 50–950 ramp

primary
#BA509B
secondary
#9CCAA9
accent
#D37A55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA509B

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

Preview Lab → · Contrast checker → · Palette generator →

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