#BA2B76#BA2B76

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

Color values

HEX#BA2B76
RGBrgb(186, 43, 118)
HSLhsl(329, 62%, 45%)
HSVhsv(329, 77%, 73%)
CMYKcmyk(0%, 76.9%, 36.6%, 27.1%)
CIE-LABlab(43.47, 61.35, -8.14)
CIE-LCHlch(43.47, 61.89, 352.44°)
OKLaboklab(53.77% 0.1884 -0.0208)
OKLCHoklch(53.77% 0.19 353.7)
XYZxyz(24.3852, 13.4779, 18.4534)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B76 #2BBA6F
analogous
#B62BBA #BA2B76 #BA2B2F
triadic
#BA2B76 #76BA2B #2B76BA
tetradic
#BA2B76 #BAB62B #2BBA6F #2B2FBA
square
#BA2B76 #BAB62B #2BBA6F #2B2FBA
split-complementary
#BA2B76 #2FBA2B #2BBAB6
monochromatic
#571437 #882056 #BA2B76 #D64C94 #E17EB2

Accessibility & contrast

On white

5.68
#BA2B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#BA2B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2B76
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2B76#FFFFFF#000000##FFFFFF
##BA2B761.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475678
Deuteranopia (green-blind)
#6F7073
Tritanopia (blue-blind)
#C91B4D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2b76;
/* rgb */ color: rgb(186, 43, 118);
/* oklch */ color: oklch(53.8% 0.190 353.7);
Tailwind
colors: {
  custom: {
    50: '#d4739d',
    500: '#ba2b76',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b76;
$custom-light: #d4739d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b76",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 328.531,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.18953,
    "h": 353.7
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#BA2B76
secondary
#77CA9E
accent
#E69042
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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