#BA2B74#BA2B74

#BA2B74 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.189 H 354.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA2B74
RGBrgb(186, 43, 116)
HSLhsl(329, 62%, 45%)
HSVhsv(329, 77%, 73%)
CMYKcmyk(0%, 76.9%, 37.6%, 27.1%)
CIE-LABlab(43.41, 61.14, -7.00)
CIE-LCHlch(43.41, 61.54, 353.46°)
OKLaboklab(53.7% 0.1878 -0.0177)
OKLCHoklch(53.7% 0.189 354.6)
XYZxyz(24.2676, 13.4308, 17.8341)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B74 #2BBA71
analogous
#B92BBA #BA2B74 #BA2B2C
triadic
#BA2B74 #74BA2B #2B74BA
tetradic
#BA2B74 #BAB92B #2BBA71 #2B2CBA
square
#BA2B74 #BAB92B #2BBA71 #2B2CBA
split-complementary
#BA2B74 #2CBA2B #2BBAB9
monochromatic
#571436 #882055 #BA2B74 #D64C93 #E17EB1

Accessibility & contrast

On white

5.70
#BA2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#BA2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B74
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B74#FFFFFF#000000##FFFFFF
##BA2B741.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485676
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#C9194C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2b74;
/* rgb */ color: rgb(186, 43, 116);
/* oklch */ color: oklch(53.7% 0.189 354.6);
Tailwind
colors: {
  custom: {
    50: '#d4739c',
    500: '#ba2b74',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b74;
$custom-light: #d4739c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b74",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 329.371,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.18866,
    "h": 354.6
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#BA2B74
secondary
#77CAA0
accent
#E69242
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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