#BA3A79#BA3A79

#BA3A79 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.174 H 354.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA3A79
RGBrgb(186, 58, 121)
HSLhsl(330, 52%, 48%)
HSVhsv(330, 69%, 73%)
CMYKcmyk(0%, 68.8%, 34.9%, 27.1%)
CIE-LABlab(45.43, 56.51, -7.06)
CIE-LCHlch(45.43, 56.95, 352.87°)
OKLaboklab(55.24% 0.1729 -0.018)
OKLCHoklch(55.24% 0.174 354.1)
XYZxyz(25.2154, 14.8486, 19.6236)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A79 #3ABA7B
analogous
#BA3AB9 #BA3A79 #BA3B3A
triadic
#BA3A79 #79BA3A #3A79BA
tetradic
#BA3A79 #B9BA3A #3ABA7B #3B3ABA
square
#BA3A79 #B9BA3A #3ABA7B #3B3ABA
split-complementary
#BA3A79 #3ABA3B #3AB9BA
monochromatic
#5D1D3C #8B2B5B #BA3A79 #CE6398 #DD92B7

Accessibility & contrast

On white

5.29
#BA3A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A79
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A79#FFFFFF#000000##FFFFFF
##BA3A791.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7B
Deuteranopia (green-blind)
#747476
Tritanopia (blue-blind)
#C83054
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3a79;
/* rgb */ color: rgb(186, 58, 121);
/* oklch */ color: oklch(55.2% 0.174 354.1);
Tailwind
colors: {
  custom: {
    50: '#d3799f',
    500: '#ba3a79',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a79;
$custom-light: #d3799f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a79",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 330.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.17382,
    "h": 354.1
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#BA3A79
secondary
#88C8A8
accent
#DC954C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3A79

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

Preview Lab → · Contrast checker → · Palette generator →

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