#BA2A56#BA2A56

#BA2A56 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.181 H 8.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA2A56
RGBrgb(186, 42, 86)
HSLhsl(342, 63%, 45%)
HSVhsv(342, 77%, 73%)
CMYKcmyk(0%, 77.4%, 53.8%, 27.1%)
CIE-LABlab(42.41, 58.70, 10.27)
CIE-LCHlch(42.41, 59.59, 9.93°)
OKLaboklab(52.69% 0.1786 0.0263)
OKLCHoklch(52.69% 0.181 8.4)
XYZxyz(22.7595, 12.7702, 10.0687)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A56 #2ABA8E
analogous
#BA2A9E #BA2A56 #BA462A
triadic
#BA2A56 #56BA2A #2A56BA
tetradic
#BA2A56 #9EBA2A #2ABA8E #462ABA
square
#BA2A56 #9EBA2A #2ABA8E #462ABA
split-complementary
#BA2A56 #2ABA46 #2A9EBA
monochromatic
#561328 #881F3F #BA2A56 #D64B75 #E27D9C

Accessibility & contrast

On white

5.91
#BA2A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A56
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A56#FFFFFF#000000##FFFFFF
##BA2A561.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505257
Deuteranopia (green-blind)
#756F52
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ba2a56;
/* rgb */ color: rgb(186, 42, 86);
/* oklch */ color: oklch(52.7% 0.181 8.4);
Tailwind
colors: {
  custom: {
    50: '#d57185',
    500: '#ba2a56',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a56;
$custom-light: #d57185;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a56",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 341.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52686,
    "c": 0.18056,
    "h": 8.4
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#BA2A56
secondary
#76CAB0
accent
#E6B442
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #BA2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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