#BA3D95#BA3D95

#BA3D95 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.186 H 341.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA3D95
RGBrgb(186, 61, 149)
HSLhsl(318, 51%, 48%)
HSVhsv(318, 67%, 73%)
CMYKcmyk(0%, 67.2%, 19.9%, 27.1%)
CIE-LABlab(46.91, 58.92, -21.78)
CIE-LCHlch(46.91, 62.82, 339.72°)
OKLaboklab(56.68% 0.1761 -0.0584)
OKLCHoklch(56.68% 0.186 341.6)
XYZxyz(27.3440, 15.9491, 30.0663)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D95 #3DBA62
analogous
#A03DBA #BA3D95 #BA3D56
triadic
#BA3D95 #95BA3D #3D95BA
tetradic
#BA3D95 #BAA03D #3DBA62 #3D56BA
square
#BA3D95 #BAA03D #3DBA62 #3D56BA
split-complementary
#BA3D95 #56BA3D #3DBAA0
monochromatic
#5E1F4B #8C2E70 #BA3D95 #CD67AF #DC95C7

Accessibility & contrast

On white

5.01
#BA3D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA3D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D95
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D95#FFFFFF#000000##FFFFFF
##BA3D951.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476298
Deuteranopia (green-blind)
#6D7792
Tritanopia (blue-blind)
#C53F63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba3d95;
/* rgb */ color: rgb(186, 61, 149);
/* oklch */ color: oklch(56.7% 0.186 341.6);
Tailwind
colors: {
  custom: {
    50: '#d27cb4',
    500: '#ba3d95',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d95;
$custom-light: #d27cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d95",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 317.76,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.18556,
    "h": 341.6
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#BA3D95
secondary
#8BC89D
accent
#DA774E
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA3D95

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

Preview Lab → · Contrast checker → · Palette generator →

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