#BA3195#BA3195

#BA3195 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.200 H 341.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA3195
RGBrgb(186, 49, 149)
HSLhsl(316, 58%, 46%)
HSVhsv(316, 74%, 73%)
CMYKcmyk(0%, 73.7%, 19.9%, 27.1%)
CIE-LABlab(45.37, 63.23, -24.15)
CIE-LCHlch(45.37, 67.69, 339.10°)
OKLaboklab(55.56% 0.1892 -0.065)
OKLCHoklch(55.56% 0.2 341)
XYZxyz(26.7736, 14.8083, 29.8762)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3195 #31BA56
analogous
#9A31BA #BA3195 #BA3151
triadic
#BA3195 #95BA31 #3195BA
tetradic
#BA3195 #BA9A31 #31BA56 #3151BA
square
#BA3195 #BA9A31 #31BA56 #3151BA
split-complementary
#BA3195 #51BA31 #31BA9A
monochromatic
#591747 #8A246E #BA3195 #D256B1 #DF86C7

Accessibility & contrast

On white

5.30
#BA3195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BA3195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3195
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3195#FFFFFF#000000##FFFFFF
##BA31951.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D98
Deuteranopia (green-blind)
#687392
Tritanopia (blue-blind)
#C5345F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3195;
/* rgb */ color: rgb(186, 49, 149);
/* oklch */ color: oklch(55.6% 0.200 341.0);
Tailwind
colors: {
  custom: {
    50: '#d376b4',
    500: '#ba3195',
    950: '#000000',
  },
}
SCSS
$custom: #ba3195;
$custom-light: #d376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3195",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 316.204,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.20009,
    "h": 341
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#BA3195
secondary
#7EC992
accent
#E27046
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BA3195

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

Preview Lab → · Contrast checker → · Palette generator →

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