#BA5FA3#BA5FA3

#BA5FA3 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.5% C 0.144 H 337.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA5FA3
RGBrgb(186, 95, 163)
HSLhsl(315, 40%, 55%)
HSVhsv(315, 49%, 73%)
CMYKcmyk(0%, 48.9%, 12.4%, 27.1%)
CIE-LABlab(53.24, 45.54, -20.33)
CIE-LCHlch(53.24, 49.87, 335.94°)
OKLaboklab(61.54% 0.1329 -0.0547)
OKLCHoklch(61.54% 0.144 337.6)
XYZxyz(30.9530, 21.2700, 37.1184)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FA3 #5FBA76
analogous
#A45FBA #BA5FA3 #BA5F75
triadic
#BA5FA3 #A3BA5F #5FA3BA
tetradic
#BA5FA3 #BAA45F #5FBA76 #5F75BA
square
#BA5FA3 #BAA45F #5FBA76 #5F75BA
split-complementary
#BA5FA3 #75BA5F #5FBAA4
monochromatic
#6F305F #9A4283 #BA5FA3 #CC8ABC #DFB5D4

Accessibility & contrast

On white

4.00
#BA5FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA5FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FA3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FA3#FFFFFF#000000##000000
##BA5FA31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A5
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#C26279
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba5fa3;
/* rgb */ color: rgb(186, 95, 163);
/* oklch */ color: oklch(61.5% 0.144 337.6);
Tailwind
colors: {
  custom: {
    50: '#d18fbe',
    500: '#ba5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fa3;
$custom-light: #d18fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fa3",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 315.165,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61539,
    "c": 0.14369,
    "h": 337.6
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#BA5FA3
secondary
#A7CDB1
accent
#D07658
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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