#BA2770#BA2770

#BA2770 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.191 H 356.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA2770
RGBrgb(186, 39, 112)
HSLhsl(330, 65%, 44%)
HSVhsv(330, 79%, 73%)
CMYKcmyk(0%, 79%, 39.8%, 27.1%)
CIE-LABlab(42.86, 61.90, -5.34)
CIE-LCHlch(42.86, 62.13, 355.07°)
OKLaboklab(53.26% 0.1904 -0.0133)
OKLCHoklch(53.26% 0.191 356)
XYZxyz(23.9016, 13.0631, 16.5889)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2770 #27BA71
analogous
#BA27BA #BA2770 #BA2827
triadic
#BA2770 #70BA27 #2770BA
tetradic
#BA2770 #BABA27 #27BA71 #2827BA
square
#BA2770 #BABA27 #27BA71 #2827BA
split-complementary
#BA2770 #27BA28 #27BABA
monochromatic
#551233 #871C52 #BA2770 #D8468F #E379AD

Accessibility & contrast

On white

5.81
#BA2770 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#BA2770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2770
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2770#FFFFFF#000000##FFFFFF
##BA27701.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475472
Deuteranopia (green-blind)
#706F6D
Tritanopia (blue-blind)
#C90E48
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2770;
/* rgb */ color: rgb(186, 39, 112);
/* oklch */ color: oklch(53.3% 0.191 356.0);
Tailwind
colors: {
  custom: {
    50: '#d47199',
    500: '#ba2770',
    950: '#000000',
  },
}
SCSS
$custom: #ba2770;
$custom-light: #d47199;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2770",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 330.204,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.19085,
    "h": 356
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#BA2770
secondary
#72CB9F
accent
#E89440
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2770

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

Preview Lab → · Contrast checker → · Palette generator →

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