#BA2D72#BA2D72

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

Color values

HEX#BA2D72
RGBrgb(186, 45, 114)
HSLhsl(331, 61%, 45%)
HSVhsv(331, 76%, 73%)
CMYKcmyk(0%, 75.8%, 38.7%, 27.1%)
CIE-LABlab(43.56, 60.31, -5.54)
CIE-LCHlch(43.56, 60.57, 354.75°)
OKLaboklab(53.79% 0.1853 -0.0138)
OKLCHoklch(53.79% 0.186 355.7)
XYZxyz(24.2270, 13.5338, 17.2528)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D72 #2DBA75
analogous
#BA2DB9 #BA2D72 #BA2E2D
triadic
#BA2D72 #72BA2D #2D72BA
tetradic
#BA2D72 #B9BA2D #2DBA75 #2E2DBA
square
#BA2D72 #B9BA2D #2DBA75 #2E2DBA
split-complementary
#BA2D72 #2DBA2E #2DB9BA
monochromatic
#571536 #892154 #BA2D72 #D55091 #E081B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2D72#FFFFFF#000000##FFFFFF
##BA2D721.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5674
Deuteranopia (green-blind)
#71706F
Tritanopia (blue-blind)
#C91B4C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2d72;
/* rgb */ color: rgb(186, 45, 114);
/* oklch */ color: oklch(53.8% 0.186 355.7);
Tailwind
colors: {
  custom: {
    50: '#d4739a',
    500: '#ba2d72',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d72;
$custom-light: #d4739a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d72",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 330.638,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.18579,
    "h": 355.7
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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