#BA2779#BA2779

#BA2779 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 352.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA2779
RGBrgb(186, 39, 121)
HSLhsl(327, 65%, 44%)
HSVhsv(327, 79%, 73%)
CMYKcmyk(0%, 79%, 34.9%, 27.1%)
CIE-LABlab(43.17, 62.84, -10.44)
CIE-LCHlch(43.17, 63.70, 350.56°)
OKLaboklab(53.59% 0.1929 -0.027)
OKLCHoklch(53.59% 0.195 352)
XYZxyz(24.4279, 13.2736, 19.3611)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2779 #27BA68
analogous
#B227BA #BA2779 #BA272F
triadic
#BA2779 #79BA27 #2779BA
tetradic
#BA2779 #BAB227 #27BA68 #272FBA
square
#BA2779 #BAB227 #27BA68 #272FBA
split-complementary
#BA2779 #2FBA27 #27BAB2
monochromatic
#551237 #871C58 #BA2779 #D84698 #E379B4

Accessibility & contrast

On white

5.75
#BA2779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#BA2779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2779
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2779#FFFFFF#000000##FFFFFF
##BA27791.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#6D6F76
Tritanopia (blue-blind)
#C8174D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2779;
/* rgb */ color: rgb(186, 39, 121);
/* oklch */ color: oklch(53.6% 0.195 352.0);
Tailwind
colors: {
  custom: {
    50: '#d4719f',
    500: '#ba2779',
    950: '#000000',
  },
}
SCSS
$custom: #ba2779;
$custom-light: #d4719f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2779",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 326.531,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.19476,
    "h": 352
  },
  "luminance": 0.13271
}

Semantic roles & 50–950 ramp

primary
#BA2779
secondary
#72CB99
accent
#E88A40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2779

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

Preview Lab → · Contrast checker → · Palette generator →

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