#BA2D88#BA2D88

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

Color values

HEX#BA2D88
RGBrgb(186, 45, 136)
HSLhsl(321, 61%, 45%)
HSVhsv(321, 76%, 73%)
CMYKcmyk(0%, 75.8%, 26.9%, 27.1%)
CIE-LABlab(44.37, 62.82, -17.82)
CIE-LCHlch(44.37, 65.30, 344.16°)
OKLaboklab(54.65% 0.1908 -0.0472)
OKLCHoklch(54.65% 0.197 346.1)
XYZxyz(25.6332, 14.0963, 24.6587)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2D88 #2DBA5F
analogous
#A62DBA #BA2D88 #BA2D41
triadic
#BA2D88 #88BA2D #2D88BA
tetradic
#BA2D88 #BAA62D #2DBA5F #2D41BA
square
#BA2D88 #BAA62D #2DBA5F #2D41BA
split-complementary
#BA2D88 #41BA2D #2DBAA6
monochromatic
#571540 #892164 #BA2D88 #D550A5 #E081BF

Accessibility & contrast

On white

5.50
#BA2D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA2D88
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2D88#FFFFFF#000000##FFFFFF
##BA2D881.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8A
Deuteranopia (green-blind)
#6B7285
Tritanopia (blue-blind)
#C72957
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2d88;
/* rgb */ color: rgb(186, 45, 136);
/* oklch */ color: oklch(54.6% 0.197 346.1);
Tailwind
colors: {
  custom: {
    50: '#d374aa',
    500: '#ba2d88',
    950: '#000000',
  },
}
SCSS
$custom: #ba2d88;
$custom-light: #d374aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2d88",
  "rgb": {
    "r": 186,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 321.277,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.19658,
    "h": 346.1
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#BA2D88
secondary
#79C996
accent
#E47D44
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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