#BA3A83#BA3A83

#BA3A83 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.179 H 349.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA3A83
RGBrgb(186, 58, 131)
HSLhsl(326, 52%, 48%)
HSVhsv(326, 69%, 73%)
CMYKcmyk(0%, 68.8%, 29.6%, 27.1%)
CIE-LABlab(45.78, 57.70, -12.63)
CIE-LCHlch(45.78, 59.07, 347.65°)
OKLaboklab(55.62% 0.1757 -0.033)
OKLCHoklch(55.62% 0.179 349.4)
XYZxyz(25.8607, 15.1067, 23.0223)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3A83 #3ABA71
analogous
#B13ABA #BA3A83 #BA3A43
triadic
#BA3A83 #83BA3A #3A83BA
tetradic
#BA3A83 #BAB13A #3ABA71 #3A43BA
square
#BA3A83 #BAB13A #3ABA71 #3A43BA
split-complementary
#BA3A83 #43BA3A #3ABAB1
monochromatic
#5D1D41 #8B2B62 #BA3A83 #CE63A0 #DD92BC

Accessibility & contrast

On white

5.22
#BA3A83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA3A83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3A83
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3A83#FFFFFF#000000##FFFFFF
##BA3A831.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E85
Deuteranopia (green-blind)
#717580
Tritanopia (blue-blind)
#C73459
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3a83;
/* rgb */ color: rgb(186, 58, 131);
/* oklch */ color: oklch(55.6% 0.179 349.4);
Tailwind
colors: {
  custom: {
    50: '#d37aa7',
    500: '#ba3a83',
    950: '#000000',
  },
}
SCSS
$custom: #ba3a83;
$custom-light: #d37aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3a83",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 131
  },
  "hsl": {
    "h": 325.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.17874,
    "h": 349.4
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#BA3A83
secondary
#88C8A3
accent
#DC8A4C
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3A83

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

Preview Lab → · Contrast checker → · Palette generator →

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