#BA2C96#BA2C96

#BA2C96 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.206 H 340.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA2C96
RGBrgb(186, 44, 150)
HSLhsl(315, 62%, 45%)
HSVhsv(315, 76%, 73%)
CMYKcmyk(0%, 76.3%, 19.4%, 27.1%)
CIE-LABlab(44.86, 64.93, -25.54)
CIE-LCHlch(44.86, 69.78, 338.53°)
OKLaboklab(55.2% 0.1941 -0.0689)
OKLCHoklch(55.2% 0.206 340.5)
XYZxyz(26.6562, 14.4452, 30.2326)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2C96 #2CBA50
analogous
#972CBA #BA2C96 #BA2C4F
triadic
#BA2C96 #96BA2C #2C96BA
tetradic
#BA2C96 #BA972C #2CBA50 #2C4FBA
square
#BA2C96 #BA972C #2CBA50 #2C4FBA
split-complementary
#BA2C96 #4FBA2C #2CBA97
monochromatic
#571546 #89206E #BA2C96 #D54EB3 #E180C8

Accessibility & contrast

On white

5.40
#BA2C96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA2C96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2C96
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2C96#FFFFFF#000000##FFFFFF
##BA2C961.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C99
Deuteranopia (green-blind)
#667293
Tritanopia (blue-blind)
#C5305E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba2c96;
/* rgb */ color: rgb(186, 44, 150);
/* oklch */ color: oklch(55.2% 0.206 340.5);
Tailwind
colors: {
  custom: {
    50: '#d374b5',
    500: '#ba2c96',
    950: '#000000',
  },
}
SCSS
$custom: #ba2c96;
$custom-light: #d374b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2c96",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 315.211,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.20601,
    "h": 340.5
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#BA2C96
secondary
#78CA8D
accent
#E56C43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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