#BA24A0#BA24A0

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

Color values

HEX#BA24A0
RGBrgb(186, 36, 160)
HSLhsl(310, 68%, 44%)
HSVhsv(310, 81%, 73%)
CMYKcmyk(0%, 80.6%, 14%, 27.1%)
CIE-LABlab(44.58, 68.49, -31.99)
CIE-LCHlch(44.58, 75.59, 334.96°)
OKLaboklab(55.15% 0.2018 -0.0873)
OKLCHoklch(55.15% 0.22 336.6)
XYZxyz(27.2263, 14.2415, 34.5659)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA24A0 #24BA3E
analogous
#8924BA #BA24A0 #BA2455
triadic
#BA24A0 #A0BA24 #24A0BA
tetradic
#BA24A0 #BA8924 #24BA3E #2455BA
square
#BA24A0 #BA8924 #24BA3E #2455BA
split-complementary
#BA24A0 #55BA24 #24BA89
monochromatic
#531048 #871A74 #BA24A0 #DA41C0 #E474D1

Accessibility & contrast

On white

5.46
#BA24A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA24A0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA24A0#FFFFFF#000000##FFFFFF
##BA24A01.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#C43062
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba24a0;
/* rgb */ color: rgb(186, 36, 160);
/* oklch */ color: oklch(55.2% 0.220 336.6);
Tailwind
colors: {
  custom: {
    50: '#d372bc',
    500: '#ba24a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba24a0;
$custom-light: #d372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba24a0",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 310.4,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.21982,
    "h": 336.6
  },
  "luminance": 0.14239
}

Semantic roles & 50–950 ramp

primary
#BA24A0
secondary
#6ECB7F
accent
#EA5B3D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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