#BA2774#BA2774

#BA2774 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 354.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA2774
RGBrgb(186, 39, 116)
HSLhsl(329, 65%, 44%)
HSVhsv(329, 79%, 73%)
CMYKcmyk(0%, 79%, 37.6%, 27.1%)
CIE-LABlab(42.99, 62.31, -7.62)
CIE-LCHlch(42.99, 62.77, 353.03°)
OKLaboklab(53.4% 0.1915 -0.0193)
OKLCHoklch(53.4% 0.193 354.2)
XYZxyz(24.1292, 13.1541, 17.7880)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2774 #27BA6D
analogous
#B727BA #BA2774 #BA272B
triadic
#BA2774 #74BA27 #2774BA
tetradic
#BA2774 #BAB727 #27BA6D #272BBA
square
#BA2774 #BAB727 #27BA6D #272BBA
split-complementary
#BA2774 #2BBA27 #27BAB7
monochromatic
#551235 #871C54 #BA2774 #D84693 #E379B0

Accessibility & contrast

On white

5.78
#BA2774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2774
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2774#FFFFFF#000000##FFFFFF
##BA27741.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#6F6F71
Tritanopia (blue-blind)
#C9124B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ba2774;
/* rgb */ color: rgb(186, 39, 116);
/* oklch */ color: oklch(53.4% 0.193 354.2);
Tailwind
colors: {
  custom: {
    50: '#d4719c',
    500: '#ba2774',
    950: '#000000',
  },
}
SCSS
$custom: #ba2774;
$custom-light: #d4719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2774",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 328.571,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53402,
    "c": 0.19251,
    "h": 354.2
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#BA2774
secondary
#72CB9C
accent
#E89040
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA2774

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

Preview Lab → · Contrast checker → · Palette generator →

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