#BA3291#BA3291

#BA3291 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.5% C 0.196 H 342.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA3291
RGBrgb(186, 50, 145)
HSLhsl(318, 58%, 46%)
HSVhsv(318, 73%, 73%)
CMYKcmyk(0%, 73.1%, 22%, 27.1%)
CIE-LABlab(45.31, 62.37, -21.83)
CIE-LCHlch(45.31, 66.08, 340.71°)
OKLaboklab(55.46% 0.1876 -0.0585)
OKLCHoklch(55.46% 0.196 342.7)
XYZxyz(26.5021, 14.7674, 28.2373)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3291 #32BA5B
analogous
#9F32BA #BA3291 #BA324D
triadic
#BA3291 #91BA32 #3291BA
tetradic
#BA3291 #BA9F32 #32BA5B #324DBA
square
#BA3291 #BA9F32 #32BA5B #324DBA
split-complementary
#BA3291 #4DBA32 #32BA9F
monochromatic
#5A1846 #8A256B #BA3291 #D257AD #DF88C5

Accessibility & contrast

On white

5.31
#BA3291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3291
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3291#FFFFFF#000000##FFFFFF
##BA32911.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#6A738E
Tritanopia (blue-blind)
#C6335D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3291;
/* rgb */ color: rgb(186, 50, 145);
/* oklch */ color: oklch(55.5% 0.196 342.7);
Tailwind
colors: {
  custom: {
    50: '#d377b1',
    500: '#ba3291',
    950: '#000000',
  },
}
SCSS
$custom: #ba3291;
$custom-light: #d377b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3291",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 318.088,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.19647,
    "h": 342.7
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#BA3291
secondary
#7FC995
accent
#E17547
background
#FDF7FA
surface
#FBEEF5
border
#D4C9CF
text
#150910
muted
#837B7F

Preview Lab

Preview with #BA3291

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

Preview Lab → · Contrast checker → · Palette generator →

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