#BA24A1#BA24A1

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

Color values

HEX#BA24A1
RGBrgb(186, 36, 161)
HSLhsl(310, 68%, 44%)
HSVhsv(310, 81%, 73%)
CMYKcmyk(0%, 80.6%, 13.4%, 27.1%)
CIE-LABlab(44.63, 68.63, -32.51)
CIE-LCHlch(44.63, 75.94, 334.65°)
OKLaboklab(55.2% 0.2018 -0.0887)
OKLCHoklch(55.2% 0.22 336.3)
XYZxyz(27.3141, 14.2767, 35.0285)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA24A1 #24BA3D
analogous
#8824BA #BA24A1 #BA2456
triadic
#BA24A1 #A1BA24 #24A1BA
tetradic
#BA24A1 #BA8824 #24BA3D #2456BA
square
#BA24A1 #BA8824 #24BA3D #2456BA
split-complementary
#BA24A1 #56BA24 #24BA88
monochromatic
#531048 #871A75 #BA24A1 #DA41C1 #E474D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA24A1#FFFFFF#000000##FFFFFF
##BA24A11.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)
#275BA4
Deuteranopia (green-blind)
#5F719E
Tritanopia (blue-blind)
#C43162
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba24a1;
/* rgb */ color: rgb(186, 36, 161);
/* oklch */ color: oklch(55.2% 0.220 336.3);
Tailwind
colors: {
  custom: {
    50: '#d372bd',
    500: '#ba24a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba24a1;
$custom-light: #d372bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba24a1",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 310,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.22048,
    "h": 336.3
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#BA24A1
secondary
#6ECB7E
accent
#EA5A3D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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