#BA3185#BA3185

#BA3185 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.191 H 347.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA3185
RGBrgb(186, 49, 133)
HSLhsl(323, 58%, 46%)
HSVhsv(323, 74%, 73%)
CMYKcmyk(0%, 73.7%, 28.5%, 27.1%)
CIE-LABlab(44.71, 61.17, -15.48)
CIE-LCHlch(44.71, 63.10, 345.80°)
OKLaboklab(54.86% 0.1862 -0.0408)
OKLCHoklch(54.86% 0.191 347.6)
XYZxyz(25.5829, 14.3320, 23.6049)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3185 #31BA66
analogous
#AA31BA #BA3185 #BA3140
triadic
#BA3185 #85BA31 #3185BA
tetradic
#BA3185 #BAAA31 #31BA66 #3140BA
square
#BA3185 #BAAA31 #31BA66 #3140BA
split-complementary
#BA3185 #40BA31 #31BAAA
monochromatic
#591740 #8A2462 #BA3185 #D256A2 #DF86BD

Accessibility & contrast

On white

5.43
#BA3185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA3185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3185
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3185#FFFFFF#000000##FFFFFF
##BA31851.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B87
Deuteranopia (green-blind)
#6D7282
Tritanopia (blue-blind)
#C72C57
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba3185;
/* rgb */ color: rgb(186, 49, 133);
/* oklch */ color: oklch(54.9% 0.191 347.6);
Tailwind
colors: {
  custom: {
    50: '#d376a8',
    500: '#ba3185',
    950: '#000000',
  },
}
SCSS
$custom: #ba3185;
$custom-light: #d376a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3185",
  "rgb": {
    "r": 186,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 323.212,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.1906,
    "h": 347.6
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#BA3185
secondary
#7EC99B
accent
#E28246
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BA3185

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

Preview Lab → · Contrast checker → · Palette generator →

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