#BA2D89#BA2D89

#BA2D89 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.197 H 345.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA2D89
RGBrgb(186, 45, 137)
HSLhsl(321, 61%, 45%)
HSVhsv(321, 76%, 73%)
CMYKcmyk(0%, 75.8%, 26.3%, 27.1%)
CIE-LABlab(44.41, 62.95, -18.37)
CIE-LCHlch(44.41, 65.57, 343.73°)
OKLaboklab(54.69% 0.191 -0.0488)
OKLCHoklch(54.69% 0.197 345.7)
XYZxyz(25.7046, 14.1248, 25.0348)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D89 #2DBA5E
analogous
#A42DBA #BA2D89 #BA2D42
triadic
#BA2D89 #89BA2D #2D89BA
tetradic
#BA2D89 #BAA42D #2DBA5E #2D42BA
square
#BA2D89 #BAA42D #2DBA5E #2D42BA
split-complementary
#BA2D89 #42BA2D #2DBAA4
monochromatic
#571540 #892165 #BA2D89 #D550A6 #E081BF

Accessibility & contrast

On white

5.49
#BA2D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA2D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2D89
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D89#FFFFFF#000000##FFFFFF
##BA2D891.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8B
Deuteranopia (green-blind)
#6B7286
Tritanopia (blue-blind)
#C72A58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2d89;
/* rgb */ color: rgb(186, 45, 137);
/* oklch */ color: oklch(54.7% 0.197 345.7);
Tailwind
colors: {
  custom: {
    50: '#d374ab',
    500: '#ba2d89',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d89;
$custom-light: #d374ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d89",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 320.851,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.19715,
    "h": 345.7
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#BA2D89
secondary
#79C995
accent
#E47B44
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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