#BA3299#BA3299

#BA3299 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.202 H 339.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3299
RGBrgb(186, 50, 153)
HSLhsl(315, 58%, 46%)
HSVhsv(315, 73%, 73%)
CMYKcmyk(0%, 73.1%, 17.7%, 27.1%)
CIE-LABlab(45.67, 63.46, -26.10)
CIE-LCHlch(45.67, 68.61, 337.64°)
OKLaboklab(55.83% 0.1888 -0.0705)
OKLCHoklch(55.83% 0.202 339.5)
XYZxyz(27.1408, 15.0228, 31.6011)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3299 #32BA53
analogous
#9732BA #BA3299 #BA3255
triadic
#BA3299 #99BA32 #3299BA
tetradic
#BA3299 #BA9732 #32BA53 #3255BA
square
#BA3299 #BA9732 #32BA53 #3255BA
split-complementary
#BA3299 #55BA32 #32BA97
monochromatic
#5A184A #8A2571 #BA3299 #D257B4 #DF88CA

Accessibility & contrast

On white

5.24
#BA3299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3299
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3299#FFFFFF#000000##FFFFFF
##BA32991.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#677496
Tritanopia (blue-blind)
#C53762
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3299;
/* rgb */ color: rgb(186, 50, 153);
/* oklch */ color: oklch(55.8% 0.202 339.5);
Tailwind
colors: {
  custom: {
    50: '#d377b7',
    500: '#ba3299',
    950: '#000000',
  },
}
SCSS
$custom: #ba3299;
$custom-light: #d377b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3299",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 314.559,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.20157,
    "h": 339.5
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#BA3299
secondary
#7FC991
accent
#E16C47
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3299

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

Preview Lab → · Contrast checker → · Palette generator →

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