#BA2B78#BA2B78

#BA2B78 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.190 H 352.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA2B78
RGBrgb(186, 43, 120)
HSLhsl(328, 62%, 45%)
HSVhsv(328, 77%, 73%)
CMYKcmyk(0%, 76.9%, 35.5%, 27.1%)
CIE-LABlab(43.55, 61.57, -9.27)
CIE-LCHlch(43.55, 62.27, 351.44°)
OKLaboklab(53.85% 0.1889 -0.0238)
OKLCHoklch(53.85% 0.19 352.8)
XYZxyz(24.5053, 13.5259, 19.0860)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B78 #2BBA6D
analogous
#B42BBA #BA2B78 #BA2B31
triadic
#BA2B78 #78BA2B #2B78BA
tetradic
#BA2B78 #BAB42B #2BBA6D #2B31BA
square
#BA2B78 #BAB42B #2BBA6D #2B31BA
split-complementary
#BA2B78 #31BA2B #2BBAB4
monochromatic
#571438 #882058 #BA2B78 #D64C96 #E17EB4

Accessibility & contrast

On white

5.67
#BA2B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA2B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B78
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B78#FFFFFF#000000##FFFFFF
##BA2B781.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#6F7075
Tritanopia (blue-blind)
#C91C4E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2b78;
/* rgb */ color: rgb(186, 43, 120);
/* oklch */ color: oklch(53.8% 0.190 352.8);
Tailwind
colors: {
  custom: {
    50: '#d4739f',
    500: '#ba2b78',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b78;
$custom-light: #d4739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b78",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 327.692,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.19043,
    "h": 352.8
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#BA2B78
secondary
#77CA9D
accent
#E68E42
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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