#BA299C#BA299C

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

Color values

HEX#BA299C
RGBrgb(186, 41, 156)
HSLhsl(312, 64%, 45%)
HSVhsv(312, 78%, 73%)
CMYKcmyk(0%, 78%, 16.1%, 27.1%)
CIE-LABlab(44.84, 66.62, -29.18)
CIE-LCHlch(44.84, 72.73, 336.34°)
OKLaboklab(55.28% 0.1975 -0.0793)
OKLCHoklch(55.28% 0.213 338.1)
XYZxyz(27.0440, 14.4279, 32.8066)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA299C #29BA47
analogous
#9029BA #BA299C #BA2953
triadic
#BA299C #9CBA29 #299CBA
tetradic
#BA299C #BA9029 #29BA47 #2953BA
square
#BA299C #BA9029 #29BA47 #2953BA
split-complementary
#BA299C #53BA29 #29BA90
monochromatic
#561348 #881E72 #BA299C #D749BA #E27BCD

Accessibility & contrast

On white

5.41
#BA299C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA299C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA299C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA299C#FFFFFF#000000##FFFFFF
##BA299C1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba299c;
/* rgb */ color: rgb(186, 41, 156);
/* oklch */ color: oklch(55.3% 0.213 338.1);
Tailwind
colors: {
  custom: {
    50: '#d373b9',
    500: '#ba299c',
    950: '#000000',
  },
}
SCSS
$custom: #ba299c;
$custom-light: #d373b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba299c",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 312.414,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.21278,
    "h": 338.1
  },
  "luminance": 0.14425
}

Semantic roles & 50–950 ramp

primary
#BA299C
secondary
#75CA86
accent
#E76341
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA299C

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

Preview Lab → · Contrast checker → · Palette generator →

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