#BA3272#BA3272

#BA3272 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.180 H 356.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA3272
RGBrgb(186, 50, 114)
HSLhsl(332, 58%, 46%)
HSVhsv(332, 73%, 73%)
CMYKcmyk(0%, 73.1%, 38.7%, 27.1%)
CIE-LABlab(44.14, 58.66, -4.67)
CIE-LCHlch(44.14, 58.85, 355.45°)
OKLaboklab(54.22% 0.18 -0.0115)
OKLCHoklch(54.22% 0.18 356.3)
XYZxyz(24.4292, 13.9382, 17.3202)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3272 #32BA7A
analogous
#BA32B6 #BA3272 #BA3632
triadic
#BA3272 #72BA32 #3272BA
tetradic
#BA3272 #B6BA32 #32BA7A #3632BA
square
#BA3272 #B6BA32 #32BA7A #3632BA
split-complementary
#BA3272 #32BA36 #32B6BA
monochromatic
#5A1837 #8A2554 #BA3272 #D25791 #DF88B1

Accessibility & contrast

On white

5.55
#BA3272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA3272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3272
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3272#FFFFFF#000000##FFFFFF
##BA32721.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5874
Deuteranopia (green-blind)
#72726F
Tritanopia (blue-blind)
#C9224E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3272;
/* rgb */ color: rgb(186, 50, 114);
/* oklch */ color: oklch(54.2% 0.180 356.3);
Tailwind
colors: {
  custom: {
    50: '#d4769a',
    500: '#ba3272',
    950: '#000000',
  },
}
SCSS
$custom: #ba3272;
$custom-light: #d4769a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3272",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 331.765,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.18039,
    "h": 356.3
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#BA3272
secondary
#7FC9A6
accent
#E19847
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3272

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

Preview Lab → · Contrast checker → · Palette generator →

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