#BA5EA9#BA5EA9

#BA5EA9 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.150 H 334.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA5EA9
RGBrgb(186, 94, 169)
HSLhsl(311, 40%, 55%)
HSVhsv(311, 49%, 73%)
CMYKcmyk(0%, 49.5%, 9.1%, 27.1%)
CIE-LABlab(53.29, 47.04, -23.76)
CIE-LCHlch(53.29, 52.70, 333.20°)
OKLaboklab(61.65% 0.1358 -0.0643)
OKLCHoklch(61.65% 0.15 334.6)
XYZxyz(31.4139, 21.3111, 39.9873)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EA9 #5EBA6F
analogous
#9D5EBA #BA5EA9 #BA5E7B
triadic
#BA5EA9 #A9BA5E #5EA9BA
tetradic
#BA5EA9 #BA9D5E #5EBA6F #5E7BBA
square
#BA5EA9 #BA9D5E #5EBA6F #5E7BBA
split-complementary
#BA5EA9 #7BBA5E #5EBA9D
monochromatic
#6E2F63 #994289 #BA5EA9 #CC89C0 #DFB4D7

Accessibility & contrast

On white

3.99
#BA5EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BA5EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EA9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EA9#FFFFFF#000000##000000
##BA5EA91.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AC
Deuteranopia (green-blind)
#7884A6
Tritanopia (blue-blind)
#C2637C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba5ea9;
/* rgb */ color: rgb(186, 94, 169);
/* oklch */ color: oklch(61.7% 0.150 334.6);
Tailwind
colors: {
  custom: {
    50: '#d18fc2',
    500: '#ba5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ea9;
$custom-light: #d18fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ea9",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 311.087,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6165,
    "c": 0.15023,
    "h": 334.6
  },
  "luminance": 0.21309
}

Semantic roles & 50–950 ramp

primary
#BA5EA9
secondary
#A7CDAE
accent
#D06E58
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BA5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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