#BA3781#BA3781

#BA3781 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.181 H 350.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA3781
RGBrgb(186, 55, 129)
HSLhsl(326, 54%, 47%)
HSVhsv(326, 70%, 73%)
CMYKcmyk(0%, 70.4%, 30.6%, 27.1%)
CIE-LABlab(45.30, 58.58, -12.14)
CIE-LCHlch(45.30, 59.82, 348.30°)
OKLaboklab(55.24% 0.1787 -0.0317)
OKLCHoklch(55.24% 0.181 350)
XYZxyz(25.5796, 14.7593, 22.2664)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3781 #37BA70
analogous
#B237BA #BA3781 #BA373F
triadic
#BA3781 #81BA37 #3781BA
tetradic
#BA3781 #BAB237 #37BA70 #373FBA
square
#BA3781 #BAB237 #37BA70 #373FBA
split-complementary
#BA3781 #3FBA37 #37BAB2
monochromatic
#5C1B3F #8B2960 #BA3781 #D05F9E #DE8EBB

Accessibility & contrast

On white

5.31
#BA3781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA3781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3781
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3781#FFFFFF#000000##FFFFFF
##BA37811.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C83
Deuteranopia (green-blind)
#70747E
Tritanopia (blue-blind)
#C73057
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba3781;
/* rgb */ color: rgb(186, 55, 129);
/* oklch */ color: oklch(55.2% 0.181 350.0);
Tailwind
colors: {
  custom: {
    50: '#d378a5',
    500: '#ba3781',
    950: '#000000',
  },
}
SCSS
$custom: #ba3781;
$custom-light: #d378a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3781",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 326.107,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.18143,
    "h": 350
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#BA3781
secondary
#85C8A2
accent
#DE8A4A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA3781

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

Preview Lab → · Contrast checker → · Palette generator →

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