#BA299F#BA299F

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

Color values

HEX#BA299F
RGBrgb(186, 41, 159)
HSLhsl(311, 64%, 45%)
HSVhsv(311, 78%, 73%)
CMYKcmyk(0%, 78%, 14.5%, 27.1%)
CIE-LABlab(44.98, 67.04, -30.75)
CIE-LCHlch(44.98, 73.75, 335.36°)
OKLaboklab(55.43% 0.1978 -0.0837)
OKLCHoklch(55.43% 0.215 337)
XYZxyz(27.3012, 14.5308, 34.1611)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA299F #29BA44
analogous
#8C29BA #BA299F #BA2957
triadic
#BA299F #9FBA29 #299FBA
tetradic
#BA299F #BA8C29 #29BA44 #2957BA
square
#BA299F #BA8C29 #29BA44 #2957BA
split-complementary
#BA299F #57BA29 #29BA8C
monochromatic
#561349 #881E74 #BA299F #D749BD #E27BCF

Accessibility & contrast

On white

5.38
#BA299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA299F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA299F#FFFFFF#000000##FFFFFF
##BA299F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba299f;
/* rgb */ color: rgb(186, 41, 159);
/* oklch */ color: oklch(55.4% 0.215 337.0);
Tailwind
colors: {
  custom: {
    50: '#d373bb',
    500: '#ba299f',
    950: '#000000',
  },
}
SCSS
$custom: #ba299f;
$custom-light: #d373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba299f",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 311.172,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.21475,
    "h": 337
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#BA299F
secondary
#75CA85
accent
#E76041
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA299F

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

Preview Lab → · Contrast checker → · Palette generator →

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