#BA3491#BA3491

#BA3491 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.194 H 342.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA3491
RGBrgb(186, 52, 145)
HSLhsl(318, 56%, 47%)
HSVhsv(318, 72%, 73%)
CMYKcmyk(0%, 72%, 22%, 27.1%)
CIE-LABlab(45.55, 61.69, -21.46)
CIE-LCHlch(45.55, 65.31, 340.82°)
OKLaboklab(55.63% 0.1855 -0.0575)
OKLCHoklch(55.63% 0.194 342.8)
XYZxyz(26.5894, 14.9421, 28.2664)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3491 #34BA5D
analogous
#A034BA #BA3491 #BA344E
triadic
#BA3491 #91BA34 #3491BA
tetradic
#BA3491 #BAA034 #34BA5D #344EBA
square
#BA3491 #BAA034 #34BA5D #344EBA
split-complementary
#BA3491 #4EBA34 #34BAA0
monochromatic
#5A1946 #8A276C #BA3491 #D15AAD #DE8AC5

Accessibility & contrast

On white

5.27
#BA3491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA3491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3491
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3491#FFFFFF#000000##FFFFFF
##BA34911.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#C6355E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3491;
/* rgb */ color: rgb(186, 52, 145);
/* oklch */ color: oklch(55.6% 0.194 342.8);
Tailwind
colors: {
  custom: {
    50: '#d377b1',
    500: '#ba3491',
    950: '#000000',
  },
}
SCSS
$custom: #ba3491;
$custom-light: #d377b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3491",
  "rgb": {
    "r": 186,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 318.358,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.19418,
    "h": 342.8
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#BA3491
secondary
#81C897
accent
#E07748
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3491

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

Preview Lab → · Contrast checker → · Palette generator →

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