#BA2A6A#BA2A6A

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

Color values

HEX#BA2A6A
RGBrgb(186, 42, 106)
HSLhsl(333, 63%, 45%)
HSVhsv(333, 77%, 73%)
CMYKcmyk(0%, 77.4%, 43%, 27.1%)
CIE-LABlab(42.97, 60.44, -1.44)
CIE-LCHlch(42.97, 60.45, 358.64°)
OKLaboklab(53.28% 0.1857 -0.0031)
OKLCHoklch(53.28% 0.186 359.1)
XYZxyz(23.6810, 13.1387, 14.9219)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A6A #2ABA7A
analogous
#BA2AB2 #BA2A6A #BA322A
triadic
#BA2A6A #6ABA2A #2A6ABA
tetradic
#BA2A6A #B2BA2A #2ABA7A #322ABA
square
#BA2A6A #B2BA2A #2ABA7A #322ABA
split-complementary
#BA2A6A #2ABA32 #2AB2BA
monochromatic
#561331 #881F4E #BA2A6A #D64B89 #E27DAA

Accessibility & contrast

On white

5.79
#BA2A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BA2A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A6A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A6A#FFFFFF#000000##FFFFFF
##BA2A6A1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B546C
Deuteranopia (green-blind)
#726F67
Tritanopia (blue-blind)
#CA0E47
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ba2a6a;
/* rgb */ color: rgb(186, 42, 106);
/* oklch */ color: oklch(53.3% 0.186 359.1);
Tailwind
colors: {
  custom: {
    50: '#d47294',
    500: '#ba2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a6a;
$custom-light: #d47294;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a6a",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 333.333,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.18576,
    "h": 359.1
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#BA2A6A
secondary
#76CAA5
accent
#E69D42
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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