#BA3983#BA3983

#BA3983 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.180 H 349.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA3983
RGBrgb(186, 57, 131)
HSLhsl(326, 53%, 48%)
HSVhsv(326, 69%, 73%)
CMYKcmyk(0%, 69.4%, 29.6%, 27.1%)
CIE-LABlab(45.64, 58.08, -12.84)
CIE-LCHlch(45.64, 59.48, 347.54°)
OKLaboklab(55.52% 0.1768 -0.0336)
OKLCHoklch(55.52% 0.18 349.2)
XYZxyz(25.8108, 15.0069, 23.0057)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3983 #39BA70
analogous
#B039BA #BA3983 #BA3943
triadic
#BA3983 #83BA39 #3983BA
tetradic
#BA3983 #BAB039 #39BA70 #3943BA
square
#BA3983 #BAB039 #39BA70 #3943BA
split-complementary
#BA3983 #43BA39 #39BAB0
monochromatic
#5C1C41 #8B2B62 #BA3983 #CF61A0 #DD90BC

Accessibility & contrast

On white

5.25
#BA3983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3983 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3983
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3983#FFFFFF#000000##FFFFFF
##BA39831.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3983;
/* rgb */ color: rgb(186, 57, 131);
/* oklch */ color: oklch(55.5% 0.180 349.2);
Tailwind
colors: {
  custom: {
    50: '#d379a7',
    500: '#ba3983',
    950: '#000000',
  },
}
SCSS
$custom: #ba3983;
$custom-light: #d379a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3983",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 325.581,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.18,
    "h": 349.2
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#BA3983
secondary
#87C8A3
accent
#DC894B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3983

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

Preview Lab → · Contrast checker → · Palette generator →

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