#BA3279#BA3279

#BA3279 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.183 H 353.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA3279
RGBrgb(186, 50, 121)
HSLhsl(329, 58%, 46%)
HSVhsv(329, 73%, 73%)
CMYKcmyk(0%, 73.1%, 34.9%, 27.1%)
CIE-LABlab(44.38, 59.42, -8.63)
CIE-LCHlch(44.38, 60.05, 351.74°)
OKLaboklab(54.47% 0.1821 -0.0221)
OKLCHoklch(54.47% 0.183 353.1)
XYZxyz(24.8430, 14.1037, 19.4995)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3279 #32BA73
analogous
#B732BA #BA3279 #BA3235
triadic
#BA3279 #79BA32 #3279BA
tetradic
#BA3279 #BAB732 #32BA73 #3235BA
square
#BA3279 #BAB732 #32BA73 #3235BA
split-complementary
#BA3279 #35BA32 #32BAB7
monochromatic
#5A183A #8A255A #BA3279 #D25797 #DF88B5

Accessibility & contrast

On white

5.50
#BA3279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#BA3279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3279
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3279#FFFFFF#000000##FFFFFF
##BA32791.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3279;
/* rgb */ color: rgb(186, 50, 121);
/* oklch */ color: oklch(54.5% 0.183 353.1);
Tailwind
colors: {
  custom: {
    50: '#d3769f',
    500: '#ba3279',
    950: '#000000',
  },
}
SCSS
$custom: #ba3279;
$custom-light: #d3769f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3279",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 328.676,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.18341,
    "h": 353.1
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#BA3279
secondary
#7FC9A2
accent
#E19147
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3279

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

Preview Lab → · Contrast checker → · Palette generator →

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