#BA3FA4#BA3FA4

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

Color values

HEX#BA3FA4
RGBrgb(186, 63, 164)
HSLhsl(311, 49%, 49%)
HSVhsv(311, 66%, 73%)
CMYKcmyk(0%, 66.1%, 11.8%, 27.1%)
CIE-LABlab(47.85, 60.34, -29.25)
CIE-LCHlch(47.85, 67.05, 334.13°)
OKLaboklab(57.58% 0.1762 -0.0796)
OKLCHoklch(57.58% 0.193 335.7)
XYZxyz(28.7284, 16.6769, 36.8207)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FA4 #3FBA55
analogous
#933FBA #BA3FA4 #BA3F67
triadic
#BA3FA4 #A4BA3F #3FA4BA
tetradic
#BA3FA4 #BA933F #3FBA55 #3F67BA
square
#BA3FA4 #BA933F #3FBA55 #3F67BA
split-complementary
#BA3FA4 #67BA3F #3FBA93
monochromatic
#5F2053 #8C307C #BA3FA4 #CC6ABB #DC97D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3FA4#FFFFFF#000000##FFFFFF
##BA3FA41.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#C3476C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3fa4;
/* rgb */ color: rgb(186, 63, 164);
/* oklch */ color: oklch(57.6% 0.193 335.7);
Tailwind
colors: {
  custom: {
    50: '#d27dbf',
    500: '#ba3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fa4;
$custom-light: #d27dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fa4",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 310.732,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.19333,
    "h": 335.7
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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