#BA2FA0#BA2FA0

#BA2FA0 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.209 H 336.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA2FA0
RGBrgb(186, 47, 160)
HSLhsl(311, 60%, 46%)
HSVhsv(311, 75%, 73%)
CMYKcmyk(0%, 74.7%, 14%, 27.1%)
CIE-LABlab(45.65, 65.41, -30.31)
CIE-LCHlch(45.65, 72.09, 335.14°)
OKLaboklab(55.92% 0.1926 -0.0825)
OKLCHoklch(55.92% 0.209 336.8)
XYZxyz(27.6119, 15.0128, 34.6944)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2FA0 #2FBA49
analogous
#8E2FBA #BA2FA0 #BA2F5A
triadic
#BA2FA0 #A0BA2F #2FA0BA
tetradic
#BA2FA0 #BA8E2F #2FBA49 #2F5ABA
square
#BA2FA0 #BA8E2F #2FBA49 #2F5ABA
split-complementary
#BA2FA0 #5ABA2F #2FBA8E
monochromatic
#58164C #892376 #BA2FA0 #D353BB #E084CF

Accessibility & contrast

On white

5.25
#BA2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2FA0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2FA0#FFFFFF#000000##FFFFFF
##BA2FA01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA3
Deuteranopia (green-blind)
#63749D
Tritanopia (blue-blind)
#C43865
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba2fa0;
/* rgb */ color: rgb(186, 47, 160);
/* oklch */ color: oklch(55.9% 0.209 336.8);
Tailwind
colors: {
  custom: {
    50: '#d376bc',
    500: '#ba2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2fa0;
$custom-light: #d376bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2fa0",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 311.223,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.20948,
    "h": 336.8
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#BA2FA0
secondary
#7CC98A
accent
#E36345
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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