#BA5FA0#BA5FA0

#BA5FA0 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.4% C 0.141 H 339.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA5FA0
RGBrgb(186, 95, 160)
HSLhsl(317, 40%, 55%)
HSVhsv(317, 49%, 73%)
CMYKcmyk(0%, 48.9%, 14%, 27.1%)
CIE-LABlab(53.13, 45.05, -18.75)
CIE-LCHlch(53.13, 48.79, 337.40°)
OKLaboklab(61.41% 0.1321 -0.0503)
OKLCHoklch(61.41% 0.141 339.2)
XYZxyz(30.6874, 21.1637, 35.7196)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FA0 #5FBA79
analogous
#A75FBA #BA5FA0 #BA5F72
triadic
#BA5FA0 #A0BA5F #5FA0BA
tetradic
#BA5FA0 #BAA75F #5FBA79 #5F72BA
square
#BA5FA0 #BAA75F #5FBA79 #5F72BA
split-complementary
#BA5FA0 #72BA5F #5FBAA7
monochromatic
#6F305D #9A4281 #BA5FA0 #CC8AB9 #DFB5D3

Accessibility & contrast

On white

4.01
#BA5FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BA5FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FA0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FA0#FFFFFF#000000##000000
##BA5FA01.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A2
Deuteranopia (green-blind)
#7B849E
Tritanopia (blue-blind)
#C36178
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba5fa0;
/* rgb */ color: rgb(186, 95, 160);
/* oklch */ color: oklch(61.4% 0.141 339.2);
Tailwind
colors: {
  custom: {
    50: '#d18fbc',
    500: '#ba5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fa0;
$custom-light: #d18fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fa0",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 317.143,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.14137,
    "h": 339.2
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#BA5FA0
secondary
#A7CDB2
accent
#D07A58
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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