#BA249B#BA249B

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

Color values

HEX#BA249B
RGBrgb(186, 36, 155)
HSLhsl(312, 68%, 44%)
HSVhsv(312, 81%, 73%)
CMYKcmyk(0%, 80.6%, 16.7%, 27.1%)
CIE-LABlab(44.33, 67.80, -29.37)
CIE-LCHlch(44.33, 73.89, 336.58°)
OKLaboklab(54.9% 0.2014 -0.0798)
OKLCHoklch(54.9% 0.217 338.4)
XYZxyz(26.7976, 14.0701, 32.3085)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA249B #24BA43
analogous
#8E24BA #BA249B #BA2450
triadic
#BA249B #9BBA24 #249BBA
tetradic
#BA249B #BA8E24 #24BA43 #2450BA
square
#BA249B #BA8E24 #24BA43 #2450BA
split-complementary
#BA249B #50BA24 #24BA8E
monochromatic
#531046 #871A70 #BA249B #DA41BB #E474CD

Accessibility & contrast

On white

5.51
#BA249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA249B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA249B#FFFFFF#000000##FFFFFF
##BA249B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#617198
Tritanopia (blue-blind)
#C52D5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba249b;
/* rgb */ color: rgb(186, 36, 155);
/* oklch */ color: oklch(54.9% 0.217 338.4);
Tailwind
colors: {
  custom: {
    50: '#d372b9',
    500: '#ba249b',
    950: '#000000',
  },
}
SCSS
$custom: #ba249b;
$custom-light: #d372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba249b",
  "rgb": {
    "r": 186,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 312.4,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.21659,
    "h": 338.4
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#BA249B
secondary
#6ECB82
accent
#EA613D
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA249B

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

Preview Lab → · Contrast checker → · Palette generator →

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