#BA3D94#BA3D94

#BA3D94 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.6% C 0.185 H 342.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA3D94
RGBrgb(186, 61, 148)
HSLhsl(318, 51%, 48%)
HSVhsv(318, 67%, 73%)
CMYKcmyk(0%, 67.2%, 20.4%, 27.1%)
CIE-LABlab(46.87, 58.78, -21.24)
CIE-LCHlch(46.87, 62.50, 340.13°)
OKLaboklab(56.63% 0.1759 -0.0569)
OKLCHoklch(56.63% 0.185 342.1)
XYZxyz(27.2645, 15.9173, 29.6477)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D94 #3DBA63
analogous
#A13DBA #BA3D94 #BA3D55
triadic
#BA3D94 #94BA3D #3D94BA
tetradic
#BA3D94 #BAA13D #3DBA63 #3D55BA
square
#BA3D94 #BAA13D #3DBA63 #3D55BA
split-complementary
#BA3D94 #55BA3D #3DBAA1
monochromatic
#5E1F4B #8C2E6F #BA3D94 #CD67AE #DC95C7

Accessibility & contrast

On white

5.02
#BA3D94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA3D94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D94
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D94#FFFFFF#000000##FFFFFF
##BA3D941.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#6D7791
Tritanopia (blue-blind)
#C53E63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d94;
/* rgb */ color: rgb(186, 61, 148);
/* oklch */ color: oklch(56.6% 0.185 342.1);
Tailwind
colors: {
  custom: {
    50: '#d27cb3',
    500: '#ba3d94',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d94;
$custom-light: #d27cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d94",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 318.24,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.18491,
    "h": 342.1
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#BA3D94
secondary
#8BC89E
accent
#DA784E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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