#BA2A66#BA2A66

#BA2A66 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.184 H 0.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA2A66
RGBrgb(186, 42, 102)
HSLhsl(335, 63%, 45%)
HSVhsv(335, 77%, 73%)
CMYKcmyk(0%, 77.4%, 45.2%, 27.1%)
CIE-LABlab(42.85, 60.06, 0.88)
CIE-LCHlch(42.85, 60.06, 0.84°)
OKLaboklab(53.15% 0.1844 0.0029)
OKLCHoklch(53.15% 0.184 0.9)
XYZxyz(23.4778, 13.0575, 13.8518)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A66 #2ABA7E
analogous
#BA2AAE #BA2A66 #BA362A
triadic
#BA2A66 #66BA2A #2A66BA
tetradic
#BA2A66 #AEBA2A #2ABA7E #362ABA
square
#BA2A66 #AEBA2A #2ABA7E #362ABA
split-complementary
#BA2A66 #2ABA36 #2AAEBA
monochromatic
#56132F #881F4B #BA2A66 #D64B85 #E27DA7

Accessibility & contrast

On white

5.82
#BA2A66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A66
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A66#FFFFFF#000000##FFFFFF
##BA2A661.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5467
Deuteranopia (green-blind)
#736F63
Tritanopia (blue-blind)
#CA0945
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a66;
/* rgb */ color: rgb(186, 42, 102);
/* oklch */ color: oklch(53.1% 0.184 0.9);
Tailwind
colors: {
  custom: {
    50: '#d47291',
    500: '#ba2a66',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a66;
$custom-light: #d47291;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a66",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 335,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.18443,
    "h": 0.9
  },
  "luminance": 0.13054
}

Semantic roles & 50–950 ramp

primary
#BA2A66
secondary
#76CAA7
accent
#E6A242
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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