#BA289B#BA289B

#BA289B is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.2% C 0.213 H 338.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA289B
RGBrgb(186, 40, 155)
HSLhsl(313, 65%, 44%)
HSVhsv(313, 78%, 73%)
CMYKcmyk(0%, 78.5%, 16.7%, 27.1%)
CIE-LABlab(44.70, 66.76, -28.81)
CIE-LCHlch(44.70, 72.71, 336.66°)
OKLaboklab(55.16% 0.1982 -0.0782)
OKLCHoklch(55.16% 0.213 338.5)
XYZxyz(26.9256, 14.3259, 32.3511)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA289B #28BA47
analogous
#9028BA #BA289B #BA2852
triadic
#BA289B #9BBA28 #289BBA
tetradic
#BA289B #BA9028 #28BA47 #2852BA
square
#BA289B #BA9028 #28BA47 #2852BA
split-complementary
#BA289B #52BA28 #28BA90
monochromatic
#551247 #881D71 #BA289B #D848B9 #E27ACC

Accessibility & contrast

On white

5.43
#BA289B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BA289B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA289B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA289B#FFFFFF#000000##FFFFFF
##BA289B1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#637298
Tritanopia (blue-blind)
#C53060
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba289b;
/* rgb */ color: rgb(186, 40, 155);
/* oklch */ color: oklch(55.2% 0.213 338.5);
Tailwind
colors: {
  custom: {
    50: '#d373b9',
    500: '#ba289b',
    950: '#000000',
  },
}
SCSS
$custom: #ba289b;
$custom-light: #d373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba289b",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 312.74,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.21306,
    "h": 338.5
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#BA289B
secondary
#73CA86
accent
#E86440
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA289B

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

Preview Lab → · Contrast checker → · Palette generator →

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