#BA3B79#BA3B79

#BA3B79 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.173 H 354.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA3B79
RGBrgb(186, 59, 121)
HSLhsl(331, 52%, 48%)
HSVhsv(331, 68%, 73%)
CMYKcmyk(0%, 68.3%, 34.9%, 27.1%)
CIE-LABlab(45.57, 56.12, -6.86)
CIE-LCHlch(45.57, 56.54, 353.04°)
OKLaboklab(55.34% 0.1717 -0.0174)
OKLCHoklch(55.34% 0.173 354.2)
XYZxyz(25.2663, 14.9504, 19.6406)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B79 #3BBA7C
analogous
#BA3BB8 #BA3B79 #BA3D3B
triadic
#BA3B79 #79BA3B #3B79BA
tetradic
#BA3B79 #B8BA3B #3BBA7C #3D3BBA
square
#BA3B79 #B8BA3B #3BBA7C #3D3BBA
split-complementary
#BA3B79 #3BBA3D #3BB8BA
monochromatic
#5D1E3D #8C2C5B #BA3B79 #CE6498 #DD93B7

Accessibility & contrast

On white

5.26
#BA3B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B79
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B79#FFFFFF#000000##FFFFFF
##BA3B791.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7B
Deuteranopia (green-blind)
#747476
Tritanopia (blue-blind)
#C83155
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3b79;
/* rgb */ color: rgb(186, 59, 121);
/* oklch */ color: oklch(55.3% 0.173 354.2);
Tailwind
colors: {
  custom: {
    50: '#d37a9f',
    500: '#ba3b79',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b79;
$custom-light: #d37a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b79",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 330.709,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.17255,
    "h": 354.2
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#BA3B79
secondary
#89C8A9
accent
#DB964D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3B79

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

Preview Lab → · Contrast checker → · Palette generator →

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