#BA2D76#BA2D76

#BA2D76 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.187 H 353.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#BA2D76
RGBrgb(186, 45, 118)
HSLhsl(329, 61%, 45%)
HSVhsv(329, 76%, 73%)
CMYKcmyk(0%, 75.8%, 36.6%, 27.1%)
CIE-LABlab(43.69, 60.74, -7.81)
CIE-LCHlch(43.69, 61.24, 352.67°)
OKLaboklab(53.94% 0.1864 -0.0199)
OKLCHoklch(53.94% 0.187 353.9)
XYZxyz(24.4597, 13.6269, 18.4782)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D76 #2DBA71
analogous
#B72DBA #BA2D76 #BA2D30
triadic
#BA2D76 #76BA2D #2D76BA
tetradic
#BA2D76 #BAB72D #2DBA71 #2D30BA
square
#BA2D76 #BAB72D #2DBA71 #2D30BA
split-complementary
#BA2D76 #30BA2D #2DBAB7
monochromatic
#571537 #892157 #BA2D76 #D55094 #E081B2

Accessibility & contrast

On white

5.64
#BA2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA2D76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D76
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D76#FFFFFF#000000##FFFFFF
##BA2D761.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485778
Deuteranopia (green-blind)
#707173
Tritanopia (blue-blind)
#C91E4E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d76;
/* rgb */ color: rgb(186, 45, 118);
/* oklch */ color: oklch(53.9% 0.187 353.9);
Tailwind
colors: {
  custom: {
    50: '#d4749d',
    500: '#ba2d76',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d76;
$custom-light: #d4749d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d76",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 328.936,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53935,
    "c": 0.18749,
    "h": 353.9
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#BA2D76
secondary
#79C9A0
accent
#E49144
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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