#BA3D83#BA3D83

#BA3D83 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.175 H 349.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA3D83
RGBrgb(186, 61, 131)
HSLhsl(326, 51%, 48%)
HSVhsv(326, 67%, 73%)
CMYKcmyk(0%, 67.2%, 29.6%, 27.1%)
CIE-LABlab(46.20, 56.53, -11.99)
CIE-LCHlch(46.20, 57.79, 348.02°)
OKLaboklab(55.93% 0.172 -0.0313)
OKLCHoklch(55.93% 0.175 349.7)
XYZxyz(26.0164, 15.4181, 23.0742)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3D83 #3DBA74
analogous
#B23DBA #BA3D83 #BA3D44
triadic
#BA3D83 #83BA3D #3D83BA
tetradic
#BA3D83 #BAB23D #3DBA74 #3D44BA
square
#BA3D83 #BAB23D #3DBA74 #3D44BA
split-complementary
#BA3D83 #44BA3D #3DBAB2
monochromatic
#5E1F42 #8C2E63 #BA3D83 #CD67A0 #DC95BD

Accessibility & contrast

On white

5.14
#BA3D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA3D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3D83
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3D83#FFFFFF#000000##FFFFFF
##BA3D831.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F85
Deuteranopia (green-blind)
#727680
Tritanopia (blue-blind)
#C7375B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3d83;
/* rgb */ color: rgb(186, 61, 131);
/* oklch */ color: oklch(55.9% 0.175 349.7);
Tailwind
colors: {
  custom: {
    50: '#d37ba7',
    500: '#ba3d83',
    950: '#000000',
  },
}
SCSS
$custom: #ba3d83;
$custom-light: #d37ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3d83",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 326.4,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55926,
    "c": 0.17486,
    "h": 349.7
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#BA3D83
secondary
#8BC8A6
accent
#DA8B4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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