#BA3371#BA3371

#BA3371 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.179 H 356.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BA3371
RGBrgb(186, 51, 113)
HSLhsl(332, 57%, 46%)
HSVhsv(332, 73%, 73%)
CMYKcmyk(0%, 72.6%, 39.2%, 27.1%)
CIE-LABlab(44.24, 58.21, -3.92)
CIE-LCHlch(44.24, 58.34, 356.15°)
OKLaboklab(54.28% 0.1786 -0.0096)
OKLCHoklch(54.28% 0.179 356.9)
XYZxyz(24.4158, 14.0020, 17.0365)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3371 #33BA7C
analogous
#BA33B5 #BA3371 #BA3833
triadic
#BA3371 #71BA33 #3371BA
tetradic
#BA3371 #B5BA33 #33BA7C #3833BA
square
#BA3371 #B5BA33 #33BA7C #3833BA
split-complementary
#BA3371 #33BA38 #33B5BA
monochromatic
#5A1937 #8A2654 #BA3371 #D15990 #DF89B0

Accessibility & contrast

On white

5.53
#BA3371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BA3371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3371
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3371#FFFFFF#000000##FFFFFF
##BA33711.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5873
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#C9234E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba3371;
/* rgb */ color: rgb(186, 51, 113);
/* oklch */ color: oklch(54.3% 0.179 356.9);
Tailwind
colors: {
  custom: {
    50: '#d47699',
    500: '#ba3371',
    950: '#000000',
  },
}
SCSS
$custom: #ba3371;
$custom-light: #d47699;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3371",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 332.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54278,
    "c": 0.17886,
    "h": 356.9
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#BA3371
secondary
#80C9A7
accent
#E09A48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA3371

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

Preview Lab → · Contrast checker → · Palette generator →

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