#BA3278#BA3278

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

Color values

HEX#BA3278
RGBrgb(186, 50, 120)
HSLhsl(329, 58%, 46%)
HSVhsv(329, 73%, 73%)
CMYKcmyk(0%, 73.1%, 35.5%, 27.1%)
CIE-LABlab(44.35, 59.31, -8.06)
CIE-LCHlch(44.35, 59.86, 352.26°)
OKLaboklab(54.44% 0.1818 -0.0206)
OKLCHoklch(54.44% 0.183 353.5)
XYZxyz(24.7820, 14.0793, 19.1782)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3278 #32BA74
analogous
#B832BA #BA3278 #BA3234
triadic
#BA3278 #78BA32 #3278BA
tetradic
#BA3278 #BAB832 #32BA74 #3234BA
square
#BA3278 #BAB832 #32BA74 #3234BA
split-complementary
#BA3278 #34BA32 #32BAB8
monochromatic
#5A183A #8A2559 #BA3278 #D25796 #DF88B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3278#FFFFFF#000000##FFFFFF
##BA32781.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)
#4B597A
Deuteranopia (green-blind)
#717275
Tritanopia (blue-blind)
#C82551
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3278;
/* rgb */ color: rgb(186, 50, 120);
/* oklch */ color: oklch(54.4% 0.183 353.5);
Tailwind
colors: {
  custom: {
    50: '#d3769f',
    500: '#ba3278',
    950: '#000000',
  },
}
SCSS
$custom: #ba3278;
$custom-light: #d3769f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3278",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 329.118,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.18295,
    "h": 353.5
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#BA3278
secondary
#7FC9A3
accent
#E19247
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3278

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

Preview Lab → · Contrast checker → · Palette generator →

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