#BA3FA0#BA3FA0

#BA3FA0 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.190 H 337.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3FA0
RGBrgb(186, 63, 160)
HSLhsl(313, 49%, 49%)
HSVhsv(313, 66%, 73%)
CMYKcmyk(0%, 66.1%, 14%, 27.1%)
CIE-LABlab(47.67, 59.73, -27.16)
CIE-LCHlch(47.67, 65.62, 335.55°)
OKLaboklab(57.39% 0.1756 -0.0737)
OKLCHoklch(57.39% 0.19 337.2)
XYZxyz(28.3728, 16.5346, 34.9481)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FA0 #3FBA59
analogous
#973FBA #BA3FA0 #BA3F63
triadic
#BA3FA0 #A0BA3F #3FA0BA
tetradic
#BA3FA0 #BA973F #3FBA59 #3F63BA
square
#BA3FA0 #BA973F #3FBA59 #3F63BA
split-complementary
#BA3FA0 #63BA3F #3FBA97
monochromatic
#5F2051 #8C3079 #BA3FA0 #CC6AB8 #DC97CD

Accessibility & contrast

On white

4.88
#BA3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA3FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3FA0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FA0#FFFFFF#000000##FFFFFF
##BA3FA01.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A3
Deuteranopia (green-blind)
#6A789D
Tritanopia (blue-blind)
#C4456A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3fa0;
/* rgb */ color: rgb(186, 63, 160);
/* oklch */ color: oklch(57.4% 0.190 337.2);
Tailwind
colors: {
  custom: {
    50: '#d27dbc',
    500: '#ba3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fa0;
$custom-light: #d27dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fa0",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 312.683,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.19045,
    "h": 337.2
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#BA3FA0
secondary
#8DC89A
accent
#D96C4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #BA3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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