#BA2A95#BA2A95

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

Color values

HEX#BA2A95
RGBrgb(186, 42, 149)
HSLhsl(315, 63%, 45%)
HSVhsv(315, 77%, 73%)
CMYKcmyk(0%, 77.4%, 19.9%, 27.1%)
CIE-LABlab(44.61, 65.39, -25.32)
CIE-LCHlch(44.61, 70.12, 338.83°)
OKLaboklab(55.01% 0.1958 -0.0683)
OKLCHoklch(55.01% 0.207 340.8)
XYZxyz(26.5033, 14.2677, 29.7861)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2A95 #2ABA4F
analogous
#972ABA #BA2A95 #BA2A4D
triadic
#BA2A95 #95BA2A #2A95BA
tetradic
#BA2A95 #BA972A #2ABA4F #2A4DBA
square
#BA2A95 #BA972A #2ABA4F #2A4DBA
split-complementary
#BA2A95 #4DBA2A #2ABA97
monochromatic
#561345 #881F6D #BA2A95 #D64BB2 #E27DC8

Accessibility & contrast

On white

5.45
#BA2A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2A95
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2A95#FFFFFF#000000##FFFFFF
##BA2A951.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#667292
Tritanopia (blue-blind)
#C52E5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2a95;
/* rgb */ color: rgb(186, 42, 149);
/* oklch */ color: oklch(55.0% 0.207 340.8);
Tailwind
colors: {
  custom: {
    50: '#d373b4',
    500: '#ba2a95',
    950: '#000000',
  },
}
SCSS
$custom: #ba2a95;
$custom-light: #d373b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2a95",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 315.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.20736,
    "h": 340.8
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#BA2A95
secondary
#76CA8B
accent
#E66C42
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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