#BA2399#BA2399

#BA2399 is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 339.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA2399
RGBrgb(186, 35, 153)
HSLhsl(313, 68%, 43%)
HSVhsv(313, 81%, 73%)
CMYKcmyk(0%, 81.2%, 17.7%, 27.1%)
CIE-LABlab(44.15, 67.78, -28.45)
CIE-LCHlch(44.15, 73.51, 337.23°)
OKLaboklab(54.74% 0.2019 -0.0771)
OKLCHoklch(54.74% 0.216 339.1)
XYZxyz(26.6012, 13.9438, 31.4213)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2399 #23BA44
analogous
#9023BA #BA2399 #BA234D
triadic
#BA2399 #99BA23 #2399BA
tetradic
#BA2399 #BA9023 #23BA44 #234DBA
square
#BA2399 #BA9023 #23BA44 #234DBA
split-complementary
#BA2399 #4DBA23 #23BA90
monochromatic
#531044 #86196F #BA2399 #DB3FB9 #E573CC

Accessibility & contrast

On white

5.54
#BA2399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA2399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2399
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2399#FFFFFF#000000##FFFFFF
##BA23991.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#627196
Tritanopia (blue-blind)
#C52B5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba2399;
/* rgb */ color: rgb(186, 35, 153);
/* oklch */ color: oklch(54.7% 0.216 339.1);
Tailwind
colors: {
  custom: {
    50: '#d371b7',
    500: '#ba2399',
    950: '#000000',
  },
}
SCSS
$custom: #ba2399;
$custom-light: #d371b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2399",
  "rgb": {
    "r": 186,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 313.113,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.21615,
    "h": 339.1
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

primary
#BA2399
secondary
#6DCC82
accent
#EB633D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA2399

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

Preview Lab → · Contrast checker → · Palette generator →

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