#BA289C#BA289C

#BA289C is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.2% C 0.214 H 338.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA289C
RGBrgb(186, 40, 156)
HSLhsl(312, 65%, 44%)
HSVhsv(312, 78%, 73%)
CMYKcmyk(0%, 78.5%, 16.1%, 27.1%)
CIE-LABlab(44.74, 66.90, -29.33)
CIE-LCHlch(44.74, 73.04, 336.32°)
OKLaboklab(55.21% 0.1983 -0.0797)
OKLCHoklch(55.21% 0.214 338.1)
XYZxyz(27.0099, 14.3596, 32.7953)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA289C #28BA46
analogous
#8F28BA #BA289C #BA2853
triadic
#BA289C #9CBA28 #289CBA
tetradic
#BA289C #BA8F28 #28BA46 #2853BA
square
#BA289C #BA8F28 #28BA46 #2853BA
split-complementary
#BA289C #53BA28 #28BA8F
monochromatic
#551248 #881D72 #BA289C #D848BA #E27ACD

Accessibility & contrast

On white

5.42
#BA289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA289C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA289C#FFFFFF#000000##FFFFFF
##BA289C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#627299
Tritanopia (blue-blind)
#C53160
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba289c;
/* rgb */ color: rgb(186, 40, 156);
/* oklch */ color: oklch(55.2% 0.214 338.1);
Tailwind
colors: {
  custom: {
    50: '#d373b9',
    500: '#ba289c',
    950: '#000000',
  },
}
SCSS
$custom: #ba289c;
$custom-light: #d373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba289c",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 312.329,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.21371,
    "h": 338.1
  },
  "luminance": 0.14357
}

Semantic roles & 50–950 ramp

primary
#BA289C
secondary
#73CA85
accent
#E86340
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA289C

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

Preview Lab → · Contrast checker → · Palette generator →

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