#BA3379#BA3379

#BA3379 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.182 H 353.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA3379
RGBrgb(186, 51, 121)
HSLhsl(329, 57%, 46%)
HSVhsv(329, 73%, 73%)
CMYKcmyk(0%, 72.6%, 34.9%, 27.1%)
CIE-LABlab(44.50, 59.08, -8.44)
CIE-LCHlch(44.50, 59.68, 351.87°)
OKLaboklab(54.56% 0.181 -0.0216)
OKLCHoklch(54.56% 0.182 353.2)
XYZxyz(24.8862, 14.1902, 19.5139)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3379 #33BA74
analogous
#B833BA #BA3379 #BA3336
triadic
#BA3379 #79BA33 #3379BA
tetradic
#BA3379 #BAB833 #33BA74 #3336BA
square
#BA3379 #BAB833 #33BA74 #3336BA
split-complementary
#BA3379 #36BA33 #33BAB8
monochromatic
#5A193B #8A265A #BA3379 #D15997 #DF89B5

Accessibility & contrast

On white

5.47
#BA3379 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA3379 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3379
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3379#FFFFFF#000000##FFFFFF
##BA33791.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7B
Deuteranopia (green-blind)
#717276
Tritanopia (blue-blind)
#C82751
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3379;
/* rgb */ color: rgb(186, 51, 121);
/* oklch */ color: oklch(54.6% 0.182 353.2);
Tailwind
colors: {
  custom: {
    50: '#d3769f',
    500: '#ba3379',
    950: '#000000',
  },
}
SCSS
$custom: #ba3379;
$custom-light: #d3769f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3379",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 121
  },
  "hsl": {
    "h": 328.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.18227,
    "h": 353.2
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#BA3379
secondary
#80C9A3
accent
#E09148
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3379

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

Preview Lab → · Contrast checker → · Palette generator →

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