#BA2D78#BA2D78

#BA2D78 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.188 H 353.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA2D78
RGBrgb(186, 45, 120)
HSLhsl(328, 61%, 45%)
HSVhsv(328, 76%, 73%)
CMYKcmyk(0%, 75.8%, 35.5%, 27.1%)
CIE-LABlab(43.76, 60.95, -8.94)
CIE-LCHlch(43.76, 61.61, 351.66°)
OKLaboklab(54.01% 0.187 -0.0229)
OKLCHoklch(54.01% 0.188 353)
XYZxyz(24.5798, 13.6749, 19.1108)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D78 #2DBA6F
analogous
#B52DBA #BA2D78 #BA2D32
triadic
#BA2D78 #78BA2D #2D78BA
tetradic
#BA2D78 #BAB52D #2DBA6F #2D32BA
square
#BA2D78 #BAB52D #2DBA6F #2D32BA
split-complementary
#BA2D78 #32BA2D #2DBAB5
monochromatic
#571538 #892158 #BA2D78 #D55096 #E081B4

Accessibility & contrast

On white

5.62
#BA2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#BA2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D78
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D78#FFFFFF#000000##FFFFFF
##BA2D781.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#6F7175
Tritanopia (blue-blind)
#C91F4F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d78;
/* rgb */ color: rgb(186, 45, 120);
/* oklch */ color: oklch(54.0% 0.188 353.0);
Tailwind
colors: {
  custom: {
    50: '#d4749f',
    500: '#ba2d78',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d78;
$custom-light: #d4749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d78",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 328.085,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.18839,
    "h": 353
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#BA2D78
secondary
#79C99F
accent
#E48F44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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