#BA2D77#BA2D77

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

Color values

HEX#BA2D77
RGBrgb(186, 45, 119)
HSLhsl(329, 61%, 45%)
HSVhsv(329, 76%, 73%)
CMYKcmyk(0%, 75.8%, 36%, 27.1%)
CIE-LABlab(43.73, 60.85, -8.38)
CIE-LCHlch(43.73, 61.42, 352.16°)
OKLaboklab(53.97% 0.1867 -0.0214)
OKLCHoklch(53.97% 0.188 353.5)
XYZxyz(24.5194, 13.6508, 18.7928)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D77 #2DBA70
analogous
#B72DBA #BA2D77 #BA2D30
triadic
#BA2D77 #77BA2D #2D77BA
tetradic
#BA2D77 #BAB72D #2DBA70 #2D30BA
square
#BA2D77 #BAB72D #2DBA70 #2D30BA
split-complementary
#BA2D77 #30BA2D #2DBAB7
monochromatic
#571538 #892157 #BA2D77 #D55095 #E081B3

Accessibility & contrast

On white

5.63
#BA2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D77
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D77#FFFFFF#000000##FFFFFF
##BA2D771.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba2d77;
/* rgb */ color: rgb(186, 45, 119);
/* oklch */ color: oklch(54.0% 0.188 353.5);
Tailwind
colors: {
  custom: {
    50: '#d4749e',
    500: '#ba2d77',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d77;
$custom-light: #d4749e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d77",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 328.511,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.18793,
    "h": 353.5
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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