#BA249C#BA249C

#BA249C is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.9% C 0.217 H 338.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA249C
RGBrgb(186, 36, 156)
HSLhsl(312, 68%, 44%)
HSVhsv(312, 81%, 73%)
CMYKcmyk(0%, 80.6%, 16.1%, 27.1%)
CIE-LABlab(44.38, 67.94, -29.90)
CIE-LCHlch(44.38, 74.23, 336.25°)
OKLaboklab(54.95% 0.2015 -0.0813)
OKLCHoklch(54.95% 0.217 338)
XYZxyz(26.8820, 14.1038, 32.7526)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA249C #24BA42
analogous
#8D24BA #BA249C #BA2451
triadic
#BA249C #9CBA24 #249CBA
tetradic
#BA249C #BA8D24 #24BA42 #2451BA
square
#BA249C #BA8D24 #24BA42 #2451BA
split-complementary
#BA249C #51BA24 #24BA8D
monochromatic
#531046 #871A71 #BA249C #DA41BC #E474CE

Accessibility & contrast

On white

5.50
#BA249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA249C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA249C#FFFFFF#000000##FFFFFF
##BA249C1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#C52E5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba249c;
/* rgb */ color: rgb(186, 36, 156);
/* oklch */ color: oklch(54.9% 0.217 338.0);
Tailwind
colors: {
  custom: {
    50: '#d372b9',
    500: '#ba249c',
    950: '#000000',
  },
}
SCSS
$custom: #ba249c;
$custom-light: #d372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba249c",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 312,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.21723,
    "h": 338
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#BA249C
secondary
#6ECB81
accent
#EA603D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA249C

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

Preview Lab → · Contrast checker → · Palette generator →

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