#BA3FA5#BA3FA5

#BA3FA5 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.6% C 0.194 H 335.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA3FA5
RGBrgb(186, 63, 165)
HSLhsl(310, 49%, 49%)
HSVhsv(310, 66%, 73%)
CMYKcmyk(0%, 66.1%, 11.3%, 27.1%)
CIE-LABlab(47.90, 60.49, -29.77)
CIE-LCHlch(47.90, 67.42, 333.79°)
OKLaboklab(57.63% 0.1763 -0.0811)
OKLCHoklch(57.63% 0.194 335.3)
XYZxyz(28.8190, 16.7131, 37.2981)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FA5 #3FBA54
analogous
#923FBA #BA3FA5 #BA3F68
triadic
#BA3FA5 #A5BA3F #3FA5BA
tetradic
#BA3FA5 #BA923F #3FBA54 #3F68BA
square
#BA3FA5 #BA923F #3FBA54 #3F68BA
split-complementary
#BA3FA5 #68BA3F #3FBA92
monochromatic
#5F2054 #8C307C #BA3FA5 #CC6ABC #DC97D0

Accessibility & contrast

On white

4.84
#BA3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA3FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FA5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FA5#FFFFFF#000000##FFFFFF
##BA3FA51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#6878A2
Tritanopia (blue-blind)
#C3476C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3fa5;
/* rgb */ color: rgb(186, 63, 165);
/* oklch */ color: oklch(57.6% 0.194 335.3);
Tailwind
colors: {
  custom: {
    50: '#d27dc0',
    500: '#ba3fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fa5;
$custom-light: #d27dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fa5",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 310.244,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57626,
    "c": 0.19406,
    "h": 335.3
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#BA3FA5
secondary
#8DC897
accent
#D9664F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #BA3FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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