#BA3FA3#BA3FA3

#BA3FA3 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.5% C 0.193 H 336.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA3FA3
RGBrgb(186, 63, 163)
HSLhsl(311, 49%, 49%)
HSVhsv(311, 66%, 73%)
CMYKcmyk(0%, 66.1%, 12.4%, 27.1%)
CIE-LABlab(47.80, 60.18, -28.73)
CIE-LCHlch(47.80, 66.69, 334.48°)
OKLaboklab(57.53% 0.176 -0.0781)
OKLCHoklch(57.53% 0.193 336.1)
XYZxyz(28.6384, 16.6409, 36.3469)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FA3 #3FBA56
analogous
#943FBA #BA3FA3 #BA3F65
triadic
#BA3FA3 #A3BA3F #3FA3BA
tetradic
#BA3FA3 #BA943F #3FBA56 #3F65BA
square
#BA3FA3 #BA943F #3FBA56 #3F65BA
split-complementary
#BA3FA3 #65BA3F #3FBA94
monochromatic
#5F2053 #8C307B #BA3FA3 #CC6ABA #DC97CF

Accessibility & contrast

On white

4.85
#BA3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA3FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FA3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FA3#FFFFFF#000000##FFFFFF
##BA3FA31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#C3466B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3fa3;
/* rgb */ color: rgb(186, 63, 163);
/* oklch */ color: oklch(57.5% 0.193 336.1);
Tailwind
colors: {
  custom: {
    50: '#d27dbe',
    500: '#ba3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fa3;
$custom-light: #d27dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fa3",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 311.22,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.1926,
    "h": 336.1
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#BA3FA3
secondary
#8DC898
accent
#D9694F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #BA3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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