#BA2F77#BA2F77

#BA2F77 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 353.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA2F77
RGBrgb(186, 47, 119)
HSLhsl(329, 60%, 46%)
HSVhsv(329, 75%, 73%)
CMYKcmyk(0%, 74.7%, 36%, 27.1%)
CIE-LABlab(43.95, 60.20, -8.04)
CIE-LCHlch(43.95, 60.74, 352.40°)
OKLaboklab(54.14% 0.1847 -0.0205)
OKLCHoklch(54.14% 0.186 353.7)
XYZxyz(24.5975, 13.8070, 18.8189)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2F77 #2FBA72
analogous
#B72FBA #BA2F77 #BA2F31
triadic
#BA2F77 #77BA2F #2F77BA
tetradic
#BA2F77 #BAB72F #2FBA72 #2F31BA
square
#BA2F77 #BAB72F #2FBA72 #2F31BA
split-complementary
#BA2F77 #31BA2F #2FBAB7
monochromatic
#581638 #892358 #BA2F77 #D35395 #E084B3

Accessibility & contrast

On white

5.58
#BA2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2F77
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2F77#FFFFFF#000000##FFFFFF
##BA2F771.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495879
Deuteranopia (green-blind)
#707174
Tritanopia (blue-blind)
#C9214F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2f77;
/* rgb */ color: rgb(186, 47, 119);
/* oklch */ color: oklch(54.1% 0.186 353.7);
Tailwind
colors: {
  custom: {
    50: '#d4749e',
    500: '#ba2f77',
    950: '#000000',
  },
}
SCSS
$custom: #ba2f77;
$custom-light: #d4749e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2f77",
  "rgb": {
    "r": 186,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 328.921,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.18581,
    "h": 353.7
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#BA2F77
secondary
#7CC9A1
accent
#E39145
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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