#BA3471#BA3471

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

Color values

HEX#BA3471
RGBrgb(186, 52, 113)
HSLhsl(333, 56%, 47%)
HSVhsv(333, 72%, 73%)
CMYKcmyk(0%, 72%, 39.2%, 27.1%)
CIE-LABlab(44.36, 57.85, -3.73)
CIE-LCHlch(44.36, 57.97, 356.31°)
OKLaboklab(54.37% 0.1775 -0.0091)
OKLCHoklch(54.37% 0.178 357.1)
XYZxyz(24.4600, 14.0903, 17.0512)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3471 #34BA7D
analogous
#BA34B4 #BA3471 #BA3A34
triadic
#BA3471 #71BA34 #3471BA
tetradic
#BA3471 #B4BA34 #34BA7D #3A34BA
square
#BA3471 #B4BA34 #34BA7D #3A34BA
split-complementary
#BA3471 #34BA3A #34B4BA
monochromatic
#5A1937 #8A2754 #BA3471 #D15A90 #DE8AB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3471#FFFFFF#000000##FFFFFF
##BA34711.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)
#4E5973
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#C9244E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3471;
/* rgb */ color: rgb(186, 52, 113);
/* oklch */ color: oklch(54.4% 0.178 357.1);
Tailwind
colors: {
  custom: {
    50: '#d47699',
    500: '#ba3471',
    950: '#000000',
  },
}
SCSS
$custom: #ba3471;
$custom-light: #d47699;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3471",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 332.687,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.17771,
    "h": 357.1
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#BA3471
secondary
#81C8A8
accent
#E09B48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3471

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

Preview Lab → · Contrast checker → · Palette generator →

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