#BA3381#BA3381

#BA3381 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.186 H 349.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA3381
RGBrgb(186, 51, 129)
HSLhsl(325, 57%, 46%)
HSVhsv(325, 73%, 73%)
CMYKcmyk(0%, 72.6%, 30.6%, 27.1%)
CIE-LABlab(44.79, 60.01, -12.91)
CIE-LCHlch(44.79, 61.38, 347.86°)
OKLaboklab(54.87% 0.1831 -0.0337)
OKLCHoklch(54.87% 0.186 349.6)
XYZxyz(25.3973, 14.3946, 22.2056)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3381 #33BA6C
analogous
#B033BA #BA3381 #BA333E
triadic
#BA3381 #81BA33 #3381BA
tetradic
#BA3381 #BAB033 #33BA6C #333EBA
square
#BA3381 #BAB033 #33BA6C #333EBA
split-complementary
#BA3381 #3EBA33 #33BAB0
monochromatic
#5A193E #8A2660 #BA3381 #D1599E #DF89BA

Accessibility & contrast

On white

5.41
#BA3381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA3381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3381
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3381#FFFFFF#000000##FFFFFF
##BA33811.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B83
Deuteranopia (green-blind)
#6F737E
Tritanopia (blue-blind)
#C82C55
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3381;
/* rgb */ color: rgb(186, 51, 129);
/* oklch */ color: oklch(54.9% 0.186 349.6);
Tailwind
colors: {
  custom: {
    50: '#d376a5',
    500: '#ba3381',
    950: '#000000',
  },
}
SCSS
$custom: #ba3381;
$custom-light: #d376a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3381",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 325.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.18619,
    "h": 349.6
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#BA3381
secondary
#80C99F
accent
#E08848
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3381

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

Preview Lab → · Contrast checker → · Palette generator →

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