#BA3B8B#BA3B8B

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

Color values

HEX#BA3B8B
RGBrgb(186, 59, 139)
HSLhsl(322, 52%, 48%)
HSVhsv(322, 68%, 73%)
CMYKcmyk(0%, 68.3%, 25.3%, 27.1%)
CIE-LABlab(46.22, 58.34, -16.81)
CIE-LCHlch(46.22, 60.71, 343.93°)
OKLaboklab(56.04% 0.1764 -0.0445)
OKLCHoklch(56.04% 0.182 345.8)
XYZxyz(26.4749, 15.4338, 26.0058)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B8B #3BBA6A
analogous
#AA3BBA #BA3B8B #BA3B4B
triadic
#BA3B8B #8BBA3B #3B8BBA
tetradic
#BA3B8B #BAAA3B #3BBA6A #3B4BBA
square
#BA3B8B #BAAA3B #3BBA6A #3B4BBA
split-complementary
#BA3B8B #4BBA3B #3BBAAA
monochromatic
#5D1E46 #8C2C68 #BA3B8B #CE64A7 #DD93C1

Accessibility & contrast

On white

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

On black

4.09
#BA3B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3B8B#FFFFFF#000000##FFFFFF
##BA3B8B1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#C6395E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba3b8b;
/* rgb */ color: rgb(186, 59, 139);
/* oklch */ color: oklch(56.0% 0.182 345.8);
Tailwind
colors: {
  custom: {
    50: '#d37aad',
    500: '#ba3b8b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b8b;
$custom-light: #d37aad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b8b",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 322.205,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.18195,
    "h": 345.8
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#BA3B8B
secondary
#89C8A0
accent
#DB814D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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