#BA2B73#BA2B73

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

Color values

HEX#BA2B73
RGBrgb(186, 43, 115)
HSLhsl(330, 62%, 45%)
HSVhsv(330, 77%, 73%)
CMYKcmyk(0%, 76.9%, 38.2%, 27.1%)
CIE-LABlab(43.37, 61.04, -6.44)
CIE-LCHlch(43.37, 61.38, 353.98°)
OKLaboklab(53.67% 0.1875 -0.0162)
OKLCHoklch(53.67% 0.188 355.1)
XYZxyz(24.2097, 13.4077, 17.5294)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2B73 #2BBA72
analogous
#B92BBA #BA2B73 #BA2B2C
triadic
#BA2B73 #73BA2B #2B73BA
tetradic
#BA2B73 #BAB92B #2BBA72 #2B2CBA
square
#BA2B73 #BAB92B #2BBA72 #2B2CBA
split-complementary
#BA2B73 #2CBA2B #2BBAB9
monochromatic
#571436 #882054 #BA2B73 #D64C92 #E17EB0

Accessibility & contrast

On white

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

On black

3.68
#BA2B73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA2B73#FFFFFF#000000##FFFFFF
##BA2B731.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485675
Deuteranopia (green-blind)
#707070
Tritanopia (blue-blind)
#C9184B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2b73;
/* rgb */ color: rgb(186, 43, 115);
/* oklch */ color: oklch(53.7% 0.188 355.1);
Tailwind
colors: {
  custom: {
    50: '#d4739b',
    500: '#ba2b73',
    950: '#000000',
  },
}
SCSS
$custom: #ba2b73;
$custom-light: #d4739b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2b73",
  "rgb": {
    "r": 186,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 329.79,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.18824,
    "h": 355.1
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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