#BA509D#BA509D

#BA509D is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.164 H 339.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA509D
RGBrgb(186, 80, 157)
HSLhsl(316, 43%, 52%)
HSVhsv(316, 57%, 73%)
CMYKcmyk(0%, 57%, 15.6%, 27.1%)
CIE-LABlab(50.23, 51.92, -21.42)
CIE-LCHlch(50.23, 56.16, 337.58°)
OKLaboklab(59.22% 0.1532 -0.0576)
OKLCHoklch(59.22% 0.164 339.4)
XYZxyz(29.2046, 18.6131, 33.9463)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA509D #50BA6D
analogous
#A250BA #BA509D #BA5068
triadic
#BA509D #9DBA50 #509DBA
tetradic
#BA509D #BAA250 #50BA6D #5068BA
square
#BA509D #BAA250 #50BA6D #5068BA
split-complementary
#BA509D #68BA50 #50BAA2
monochromatic
#672956 #933A7B #BA509D #CB7CB6 #DDA8CE

Accessibility & contrast

On white

4.45
#BA509D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA509D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA509D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA509D#FFFFFF#000000##000000
##BA509D1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#556D9F
Deuteranopia (green-blind)
#737E9A
Tritanopia (blue-blind)
#C4536F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba509d;
/* rgb */ color: rgb(186, 80, 157);
/* oklch */ color: oklch(59.2% 0.164 339.4);
Tailwind
colors: {
  custom: {
    50: '#d186ba',
    500: '#ba509d',
    950: '#000000',
  },
}
SCSS
$custom: #ba509d;
$custom-light: #d186ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba509d",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 316.415,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.16364,
    "h": 339.4
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#BA509D
secondary
#9CCAA8
accent
#D37755
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA509D

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

Preview Lab → · Contrast checker → · Palette generator →

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