#BA2756#BA2756

#BA2756 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.183 H 7.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2756
RGBrgb(186, 39, 86)
HSLhsl(341, 65%, 44%)
HSVhsv(341, 79%, 73%)
CMYKcmyk(0%, 79%, 53.8%, 27.1%)
CIE-LABlab(42.10, 59.59, 9.83)
CIE-LCHlch(42.10, 60.39, 9.37°)
OKLaboklab(52.45% 0.1815 0.0252)
OKLCHoklch(52.45% 0.183 7.9)
XYZxyz(22.6571, 12.5653, 10.0346)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2756 #27BA8B
analogous
#BA27A0 #BA2756 #BA4127
triadic
#BA2756 #56BA27 #2756BA
tetradic
#BA2756 #A0BA27 #27BA8B #4127BA
square
#BA2756 #A0BA27 #27BA8B #4127BA
split-complementary
#BA2756 #27BA41 #27A0BA
monochromatic
#551227 #871C3F #BA2756 #D84675 #E3799B

Accessibility & contrast

On white

5.98
#BA2756 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BA2756 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2756
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2756#FFFFFF#000000##FFFFFF
##BA27561.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ba2756;
/* rgb */ color: rgb(186, 39, 86);
/* oklch */ color: oklch(52.5% 0.183 7.9);
Tailwind
colors: {
  custom: {
    50: '#d57085',
    500: '#ba2756',
    950: '#000000',
  },
}
SCSS
$custom: #ba2756;
$custom-light: #d57085;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2756",
  "rgb": {
    "r": 186,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 340.816,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.18325,
    "h": 7.9
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#BA2756
secondary
#72CBAE
accent
#E8B240
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BA2756

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

Preview Lab → · Contrast checker → · Palette generator →

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