#BA2C80#BA2C80

#BA2C80 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.193 H 349.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA2C80
RGBrgb(186, 44, 128)
HSLhsl(325, 62%, 45%)
HSVhsv(325, 76%, 73%)
CMYKcmyk(0%, 76.3%, 31.2%, 27.1%)
CIE-LABlab(43.95, 62.17, -13.58)
CIE-LCHlch(43.95, 63.64, 347.68°)
OKLaboklab(54.24% 0.19 -0.0355)
OKLCHoklch(54.24% 0.193 349.4)
XYZxyz(25.0480, 13.8019, 21.7629)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C80 #2CBA66
analogous
#AD2CBA #BA2C80 #BA2C39
triadic
#BA2C80 #80BA2C #2C80BA
tetradic
#BA2C80 #BAAD2C #2CBA66 #2C39BA
square
#BA2C80 #BAAD2C #2CBA66 #2C39BA
split-complementary
#BA2C80 #39BA2C #2CBAAD
monochromatic
#57153C #89205E #BA2C80 #D54E9E #E180B9

Accessibility & contrast

On white

5.59
#BA2C80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#BA2C80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C80
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C80#FFFFFF#000000##FFFFFF
##BA2C801.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445882
Deuteranopia (green-blind)
#6D717D
Tritanopia (blue-blind)
#C82352
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2c80;
/* rgb */ color: rgb(186, 44, 128);
/* oklch */ color: oklch(54.2% 0.193 349.4);
Tailwind
colors: {
  custom: {
    50: '#d373a5',
    500: '#ba2c80',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c80;
$custom-light: #d373a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c80",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 324.507,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.19331,
    "h": 349.4
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#BA2C80
secondary
#78CA99
accent
#E58543
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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