#BA3294#BA3294

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

Color values

HEX#BA3294
RGBrgb(186, 50, 148)
HSLhsl(317, 58%, 46%)
HSVhsv(317, 73%, 73%)
CMYKcmyk(0%, 73.1%, 20.4%, 27.1%)
CIE-LABlab(45.44, 62.77, -23.44)
CIE-LCHlch(45.44, 67.00, 339.53°)
OKLaboklab(55.59% 0.1881 -0.063)
OKLCHoklch(55.59% 0.198 341.5)
XYZxyz(26.7364, 14.8611, 29.4717)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3294 #32BA58
analogous
#9C32BA #BA3294 #BA3250
triadic
#BA3294 #94BA32 #3294BA
tetradic
#BA3294 #BA9C32 #32BA58 #3250BA
square
#BA3294 #BA9C32 #32BA58 #3250BA
split-complementary
#BA3294 #50BA32 #32BA9C
monochromatic
#5A1847 #8A256E #BA3294 #D257B0 #DF88C6

Accessibility & contrast

On white

5.29
#BA3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BA3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3294
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3294#FFFFFF#000000##FFFFFF
##BA32941.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D97
Deuteranopia (green-blind)
#697391
Tritanopia (blue-blind)
#C5345F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3294;
/* rgb */ color: rgb(186, 50, 148);
/* oklch */ color: oklch(55.6% 0.198 341.5);
Tailwind
colors: {
  custom: {
    50: '#d377b3',
    500: '#ba3294',
    950: '#000000',
  },
}
SCSS
$custom: #ba3294;
$custom-light: #d377b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3294",
  "rgb": {
    "r": 186,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 316.765,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.19835,
    "h": 341.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#BA3294
secondary
#7FC994
accent
#E17247
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3294

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

Preview Lab → · Contrast checker → · Palette generator →

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