#BA289F#BA289F

#BA289F is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.4% C 0.216 H 337.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA289F
RGBrgb(186, 40, 159)
HSLhsl(311, 65%, 44%)
HSVhsv(311, 78%, 73%)
CMYKcmyk(0%, 78.5%, 14.5%, 27.1%)
CIE-LABlab(44.89, 67.31, -30.90)
CIE-LCHlch(44.89, 74.07, 335.34°)
OKLaboklab(55.36% 0.1986 -0.0842)
OKLCHoklch(55.36% 0.216 337)
XYZxyz(27.2671, 14.4625, 34.1497)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA289F #28BA43
analogous
#8C28BA #BA289F #BA2856
triadic
#BA289F #9FBA28 #289FBA
tetradic
#BA289F #BA8C28 #28BA43 #2856BA
square
#BA289F #BA8C28 #28BA43 #2856BA
split-complementary
#BA289F #56BA28 #28BA8C
monochromatic
#551249 #881D74 #BA289F #D848BD #E27ACF

Accessibility & contrast

On white

5.40
#BA289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA289F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA289F#FFFFFF#000000##FFFFFF
##BA289F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#61729C
Tritanopia (blue-blind)
#C43262
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba289f;
/* rgb */ color: rgb(186, 40, 159);
/* oklch */ color: oklch(55.4% 0.216 337.0);
Tailwind
colors: {
  custom: {
    50: '#d373bb',
    500: '#ba289f',
    950: '#000000',
  },
}
SCSS
$custom: #ba289f;
$custom-light: #d373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba289f",
  "rgb": {
    "r": 186,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 311.096,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.21567,
    "h": 337
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#BA289F
secondary
#73CA84
accent
#E85F40
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA289F

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

Preview Lab → · Contrast checker → · Palette generator →

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