#BA249E#BA249E

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

Color values

HEX#BA249E
RGBrgb(186, 36, 158)
HSLhsl(311, 68%, 44%)
HSVhsv(311, 81%, 73%)
CMYKcmyk(0%, 80.6%, 15.1%, 27.1%)
CIE-LABlab(44.48, 68.21, -30.95)
CIE-LCHlch(44.48, 74.91, 335.60°)
OKLaboklab(55.05% 0.2016 -0.0843)
OKLCHoklch(55.05% 0.219 337.3)
XYZxyz(27.0527, 14.1721, 33.6519)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA249E #24BA40
analogous
#8B24BA #BA249E #BA2453
triadic
#BA249E #9EBA24 #249EBA
tetradic
#BA249E #BA8B24 #24BA40 #2453BA
square
#BA249E #BA8B24 #24BA40 #2453BA
split-complementary
#BA249E #53BA24 #24BA8B
monochromatic
#531047 #871A72 #BA249E #DA41BE #E474CF

Accessibility & contrast

On white

5.48
#BA249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA249E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA249E#FFFFFF#000000##FFFFFF
##BA249E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#60719B
Tritanopia (blue-blind)
#C42F61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba249e;
/* rgb */ color: rgb(186, 36, 158);
/* oklch */ color: oklch(55.0% 0.219 337.3);
Tailwind
colors: {
  custom: {
    50: '#d372bb',
    500: '#ba249e',
    950: '#000000',
  },
}
SCSS
$custom: #ba249e;
$custom-light: #d372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba249e",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 311.2,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55049,
    "c": 0.21852,
    "h": 337.3
  },
  "luminance": 0.14169
}

Semantic roles & 50–950 ramp

primary
#BA249E
secondary
#6ECB80
accent
#EA5E3D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA249E

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

Preview Lab → · Contrast checker → · Palette generator →

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