#BA2A54#BA2A54

#BA2A54 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.180 H 9.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA2A54
RGBrgb(186, 42, 84)
HSLhsl(343, 63%, 45%)
HSVhsv(343, 77%, 73%)
CMYKcmyk(0%, 77.4%, 54.8%, 27.1%)
CIE-LABlab(42.37, 58.55, 11.46)
CIE-LCHlch(42.37, 59.66, 11.08°)
OKLaboklab(52.63% 0.1779 0.0291)
OKLCHoklch(52.63% 0.18 9.3)
XYZxyz(22.6801, 12.7384, 9.6503)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A54 #2ABA90
analogous
#BA2A9C #BA2A54 #BA482A
triadic
#BA2A54 #54BA2A #2A54BA
tetradic
#BA2A54 #9CBA2A #2ABA90 #482ABA
square
#BA2A54 #9CBA2A #2ABA90 #482ABA
split-complementary
#BA2A54 #2ABA48 #2A9CBA
monochromatic
#561327 #881F3D #BA2A54 #D64B74 #E27D9A

Accessibility & contrast

On white

5.92
#BA2A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#BA2A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A54
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A54#FFFFFF#000000##FFFFFF
##BA2A541.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505155
Deuteranopia (green-blind)
#766E50
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a54;
/* rgb */ color: rgb(186, 42, 84);
/* oklch */ color: oklch(52.6% 0.180 9.3);
Tailwind
colors: {
  custom: {
    50: '#d57183',
    500: '#ba2a54',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a54;
$custom-light: #d57183;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a54",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 342.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.18024,
    "h": 9.3
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#BA2A54
secondary
#76CAB1
accent
#E6B642
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #BA2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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