#BA3B83#BA3B83

#BA3B83 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.177 H 349.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA3B83
RGBrgb(186, 59, 131)
HSLhsl(326, 52%, 48%)
HSVhsv(326, 68%, 73%)
CMYKcmyk(0%, 68.3%, 29.6%, 27.1%)
CIE-LABlab(45.92, 57.32, -12.42)
CIE-LCHlch(45.92, 58.65, 347.77°)
OKLaboklab(55.72% 0.1745 -0.0325)
OKLCHoklch(55.72% 0.177 349.5)
XYZxyz(25.9116, 15.2085, 23.0393)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B83 #3BBA72
analogous
#B13BBA #BA3B83 #BA3B43
triadic
#BA3B83 #83BA3B #3B83BA
tetradic
#BA3B83 #BAB13B #3BBA72 #3B43BA
square
#BA3B83 #BAB13B #3BBA72 #3B43BA
split-complementary
#BA3B83 #43BA3B #3BBAB1
monochromatic
#5D1E42 #8C2C62 #BA3B83 #CE64A0 #DD93BD

Accessibility & contrast

On white

5.20
#BA3B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA3B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B83
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B83#FFFFFF#000000##FFFFFF
##BA3B831.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E85
Deuteranopia (green-blind)
#717580
Tritanopia (blue-blind)
#C7355A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b83;
/* rgb */ color: rgb(186, 59, 131);
/* oklch */ color: oklch(55.7% 0.177 349.5);
Tailwind
colors: {
  custom: {
    50: '#d37aa7',
    500: '#ba3b83',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b83;
$custom-light: #d37aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b83",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 325.984,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.17746,
    "h": 349.5
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#BA3B83
secondary
#89C8A4
accent
#DB8A4D
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3B83

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

Preview Lab → · Contrast checker → · Palette generator →

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