#BA2D73#BA2D73

#BA2D73 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.186 H 355.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA2D73
RGBrgb(186, 45, 115)
HSLhsl(330, 61%, 45%)
HSVhsv(330, 76%, 73%)
CMYKcmyk(0%, 75.8%, 38.2%, 27.1%)
CIE-LABlab(43.59, 60.42, -6.11)
CIE-LCHlch(43.59, 60.73, 354.23°)
OKLaboklab(53.83% 0.1856 -0.0153)
OKLCHoklch(53.83% 0.186 355.3)
XYZxyz(24.2842, 13.5567, 17.5542)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D73 #2DBA74
analogous
#BA2DB9 #BA2D73 #BA2E2D
triadic
#BA2D73 #73BA2D #2D73BA
tetradic
#BA2D73 #B9BA2D #2DBA74 #2E2DBA
square
#BA2D73 #B9BA2D #2DBA74 #2E2DBA
split-complementary
#BA2D73 #2DBA2E #2DB9BA
monochromatic
#571536 #892155 #BA2D73 #D55092 #E081B0

Accessibility & contrast

On white

5.66
#BA2D73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA2D73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D73
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D73#FFFFFF#000000##FFFFFF
##BA2D731.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495675
Deuteranopia (green-blind)
#717070
Tritanopia (blue-blind)
#C91B4C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d73;
/* rgb */ color: rgb(186, 45, 115);
/* oklch */ color: oklch(53.8% 0.186 355.3);
Tailwind
colors: {
  custom: {
    50: '#d4739b',
    500: '#ba2d73',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d73;
$custom-light: #d4739b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d73",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 330.213,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.1862,
    "h": 355.3
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#BA2D73
secondary
#79C9A2
accent
#E49444
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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