#BA2896#BA2896

#BA2896 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.210 H 340.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA2896
RGBrgb(186, 40, 150)
HSLhsl(315, 65%, 44%)
HSVhsv(315, 78%, 73%)
CMYKcmyk(0%, 78.5%, 19.4%, 27.1%)
CIE-LABlab(44.46, 66.08, -26.16)
CIE-LCHlch(44.46, 71.07, 338.40°)
OKLaboklab(54.92% 0.1976 -0.0707)
OKLCHoklch(54.92% 0.21 340.3)
XYZxyz(26.5143, 14.1614, 30.1853)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2896 #28BA4C
analogous
#9528BA #BA2896 #BA284D
triadic
#BA2896 #96BA28 #2896BA
tetradic
#BA2896 #BA9528 #28BA4C #284DBA
square
#BA2896 #BA9528 #28BA4C #284DBA
split-complementary
#BA2896 #4DBA28 #28BA95
monochromatic
#551245 #881D6D #BA2896 #D848B4 #E27AC9

Accessibility & contrast

On white

5.48
#BA2896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA2896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2896
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2896#FFFFFF#000000##FFFFFF
##BA28961.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345A99
Deuteranopia (green-blind)
#657193
Tritanopia (blue-blind)
#C52D5D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2896;
/* rgb */ color: rgb(186, 40, 150);
/* oklch */ color: oklch(54.9% 0.210 340.3);
Tailwind
colors: {
  custom: {
    50: '#d373b5',
    500: '#ba2896',
    950: '#000000',
  },
}
SCSS
$custom: #ba2896;
$custom-light: #d373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2896",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 314.795,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54915,
    "c": 0.20988,
    "h": 340.3
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#BA2896
secondary
#73CA89
accent
#E86940
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2896

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

Preview Lab → · Contrast checker → · Palette generator →

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