#BA2A94#BA2A94

#BA2A94 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.207 H 341.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA2A94
RGBrgb(186, 42, 148)
HSLhsl(316, 63%, 45%)
HSVhsv(316, 77%, 73%)
CMYKcmyk(0%, 77.4%, 20.4%, 27.1%)
CIE-LABlab(44.57, 65.25, -24.79)
CIE-LCHlch(44.57, 69.80, 339.20°)
OKLaboklab(54.96% 0.1957 -0.0668)
OKLCHoklch(54.96% 0.207 341.2)
XYZxyz(26.4238, 14.2359, 29.3674)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A94 #2ABA50
analogous
#982ABA #BA2A94 #BA2A4C
triadic
#BA2A94 #94BA2A #2A94BA
tetradic
#BA2A94 #BA982A #2ABA50 #2A4CBA
square
#BA2A94 #BA982A #2ABA50 #2A4CBA
split-complementary
#BA2A94 #4CBA2A #2ABA98
monochromatic
#561345 #881F6C #BA2A94 #D64BB2 #E27DC7

Accessibility & contrast

On white

5.46
#BA2A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BA2A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2A94
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A94#FFFFFF#000000##FFFFFF
##BA2A941.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B97
Deuteranopia (green-blind)
#667291
Tritanopia (blue-blind)
#C62D5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2a94;
/* rgb */ color: rgb(186, 42, 148);
/* oklch */ color: oklch(55.0% 0.207 341.2);
Tailwind
colors: {
  custom: {
    50: '#d373b3',
    500: '#ba2a94',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a94;
$custom-light: #d373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a94",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 315.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54962,
    "c": 0.20673,
    "h": 341.2
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#BA2A94
secondary
#76CA8C
accent
#E66D42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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