#BA2C74#BA2C74

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

Color values

HEX#BA2C74
RGBrgb(186, 44, 116)
HSLhsl(330, 62%, 45%)
HSVhsv(330, 76%, 73%)
CMYKcmyk(0%, 76.3%, 37.6%, 27.1%)
CIE-LABlab(43.51, 60.84, -6.84)
CIE-LCHlch(43.51, 61.22, 353.58°)
OKLaboklab(53.78% 0.1868 -0.0173)
OKLCHoklch(53.78% 0.188 354.7)
XYZxyz(24.3044, 13.5044, 17.8464)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C74 #2CBA72
analogous
#B92CBA #BA2C74 #BA2C2D
triadic
#BA2C74 #74BA2C #2C74BA
tetradic
#BA2C74 #BAB92C #2CBA72 #2C2DBA
square
#BA2C74 #BAB92C #2CBA72 #2C2DBA
split-complementary
#BA2C74 #2DBA2C #2CBAB9
monochromatic
#571536 #892055 #BA2C74 #D54E93 #E180B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2C74#FFFFFF#000000##FFFFFF
##BA2C741.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)
#485676
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#C91B4C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba2c74;
/* rgb */ color: rgb(186, 44, 116);
/* oklch */ color: oklch(53.8% 0.188 354.7);
Tailwind
colors: {
  custom: {
    50: '#d4739c',
    500: '#ba2c74',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c74;
$custom-light: #d4739c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c74",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 329.577,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53781,
    "c": 0.18765,
    "h": 354.7
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#BA2C74
secondary
#78CAA0
accent
#E59343
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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