#BA2778#BA2778

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

Color values

HEX#BA2778
RGBrgb(186, 39, 120)
HSLhsl(327, 65%, 44%)
HSVhsv(327, 79%, 73%)
CMYKcmyk(0%, 79%, 35.5%, 27.1%)
CIE-LABlab(43.14, 62.73, -9.88)
CIE-LCHlch(43.14, 63.51, 351.05°)
OKLaboklab(53.55% 0.1926 -0.0254)
OKLCHoklch(53.55% 0.194 352.5)
XYZxyz(24.3669, 13.2492, 19.0398)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2778 #27BA69
analogous
#B327BA #BA2778 #BA272F
triadic
#BA2778 #78BA27 #2778BA
tetradic
#BA2778 #BAB327 #27BA69 #272FBA
square
#BA2778 #BAB327 #27BA69 #272FBA
split-complementary
#BA2778 #2FBA27 #27BAB3
monochromatic
#551237 #871C57 #BA2778 #D84697 #E379B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2778#FFFFFF#000000##FFFFFF
##BA27781.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)
#44557A
Deuteranopia (green-blind)
#6E6F75
Tritanopia (blue-blind)
#C9164D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2778;
/* rgb */ color: rgb(186, 39, 120);
/* oklch */ color: oklch(53.6% 0.194 352.5);
Tailwind
colors: {
  custom: {
    50: '#d4719f',
    500: '#ba2778',
    950: '#000000',
  },
}
SCSS
$custom: #ba2778;
$custom-light: #d4719f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2778",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 326.939,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.1943,
    "h": 352.5
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#BA2778
secondary
#72CB9A
accent
#E88B40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2778

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

Preview Lab → · Contrast checker → · Palette generator →

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