#BA3276#BA3276

#BA3276 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.182 H 354.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA3276
RGBrgb(186, 50, 118)
HSLhsl(330, 58%, 46%)
HSVhsv(330, 73%, 73%)
CMYKcmyk(0%, 73.1%, 36.6%, 27.1%)
CIE-LABlab(44.28, 59.09, -6.94)
CIE-LCHlch(44.28, 59.50, 353.30°)
OKLaboklab(54.36% 0.1812 -0.0176)
OKLCHoklch(54.36% 0.182 354.5)
XYZxyz(24.6619, 14.0313, 18.5456)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3276 #32BA76
analogous
#BA32BA #BA3276 #BA3232
triadic
#BA3276 #76BA32 #3276BA
tetradic
#BA3276 #BABA32 #32BA76 #3232BA
square
#BA3276 #BABA32 #32BA76 #3232BA
split-complementary
#BA3276 #32BA32 #32BABA
monochromatic
#5A1839 #8A2557 #BA3276 #D25795 #DF88B3

Accessibility & contrast

On white

5.52
#BA3276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BA3276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3276
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3276#FFFFFF#000000##FFFFFF
##BA32761.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5978
Deuteranopia (green-blind)
#717273
Tritanopia (blue-blind)
#C92450
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3276;
/* rgb */ color: rgb(186, 50, 118);
/* oklch */ color: oklch(54.4% 0.182 354.5);
Tailwind
colors: {
  custom: {
    50: '#d3769d',
    500: '#ba3276',
    950: '#000000',
  },
}
SCSS
$custom: #ba3276;
$custom-light: #d3769d;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3276",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 330,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.18206,
    "h": 354.5
  },
  "luminance": 0.14028
}

Semantic roles & 50–950 ramp

primary
#BA3276
secondary
#7FC9A4
accent
#E19447
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3276

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

Preview Lab → · Contrast checker → · Palette generator →

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