#BA249F#BA249F

#BA249F is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.219 H 337.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA249F
RGBrgb(186, 36, 159)
HSLhsl(311, 68%, 44%)
HSVhsv(311, 81%, 73%)
CMYKcmyk(0%, 80.6%, 14.5%, 27.1%)
CIE-LABlab(44.53, 68.35, -31.47)
CIE-LCHlch(44.53, 75.25, 335.28°)
OKLaboklab(55.1% 0.2017 -0.0858)
OKLCHoklch(55.1% 0.219 337)
XYZxyz(27.1391, 14.2067, 34.1070)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA249F #24BA3F
analogous
#8A24BA #BA249F #BA2454
triadic
#BA249F #9FBA24 #249FBA
tetradic
#BA249F #BA8A24 #24BA3F #2454BA
square
#BA249F #BA8A24 #24BA3F #2454BA
split-complementary
#BA249F #54BA24 #24BA8A
monochromatic
#531047 #871A73 #BA249F #DA41BF #E474D0

Accessibility & contrast

On white

5.47
#BA249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA249F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA249F#FFFFFF#000000##FFFFFF
##BA249F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#60719C
Tritanopia (blue-blind)
#C43061
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba249f;
/* rgb */ color: rgb(186, 36, 159);
/* oklch */ color: oklch(55.1% 0.219 337.0);
Tailwind
colors: {
  custom: {
    50: '#d372bb',
    500: '#ba249f',
    950: '#000000',
  },
}
SCSS
$custom: #ba249f;
$custom-light: #d372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba249f",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 310.8,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.551,
    "c": 0.21917,
    "h": 337
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA249F

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

Preview Lab → · Contrast checker → · Palette generator →

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