#BA2899#BA2899

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

Color values

HEX#BA2899
RGBrgb(186, 40, 153)
HSLhsl(314, 65%, 44%)
HSVhsv(314, 78%, 73%)
CMYKcmyk(0%, 78.5%, 17.7%, 27.1%)
CIE-LABlab(44.60, 66.49, -27.75)
CIE-LCHlch(44.60, 72.04, 337.34°)
OKLaboklab(55.06% 0.198 -0.0752)
OKLCHoklch(55.06% 0.212 339.2)
XYZxyz(26.7590, 14.2593, 31.4739)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2899 #28BA49
analogous
#9228BA #BA2899 #BA2850
triadic
#BA2899 #99BA28 #2899BA
tetradic
#BA2899 #BA9228 #28BA49 #2850BA
square
#BA2899 #BA9228 #28BA49 #2850BA
split-complementary
#BA2899 #50BA28 #28BA92
monochromatic
#551246 #881D70 #BA2899 #D848B7 #E27ACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA2899#FFFFFF#000000##FFFFFF
##BA28991.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)
#325B9C
Deuteranopia (green-blind)
#637296
Tritanopia (blue-blind)
#C52F5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba2899;
/* rgb */ color: rgb(186, 40, 153);
/* oklch */ color: oklch(55.1% 0.212 339.2);
Tailwind
colors: {
  custom: {
    50: '#d373b7',
    500: '#ba2899',
    950: '#000000',
  },
}
SCSS
$custom: #ba2899;
$custom-light: #d373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2899",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 313.562,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.21178,
    "h": 339.2
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#BA2899
secondary
#73CA87
accent
#E86640
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2899

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

Preview Lab → · Contrast checker → · Palette generator →

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