#BA3787#BA3787

#BA3787 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.185 H 347.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA3787
RGBrgb(186, 55, 135)
HSLhsl(323, 54%, 47%)
HSVhsv(323, 70%, 73%)
CMYKcmyk(0%, 70.4%, 27.4%, 27.1%)
CIE-LABlab(45.53, 59.32, -15.44)
CIE-LCHlch(45.53, 61.30, 345.41°)
OKLaboklab(55.48% 0.1801 -0.0407)
OKLCHoklch(55.48% 0.185 347.3)
XYZxyz(25.9902, 14.9235, 24.4288)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3787 #37BA6A
analogous
#AC37BA #BA3787 #BA3745
triadic
#BA3787 #87BA37 #3787BA
tetradic
#BA3787 #BAAC37 #37BA6A #3745BA
square
#BA3787 #BAAC37 #37BA6A #3745BA
split-complementary
#BA3787 #45BA37 #37BAAC
monochromatic
#5C1B42 #8B2965 #BA3787 #D05FA4 #DE8EBF

Accessibility & contrast

On white

5.27
#BA3787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA3787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3787
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3787#FFFFFF#000000##FFFFFF
##BA37871.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#6F7484
Tritanopia (blue-blind)
#C7335A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3787;
/* rgb */ color: rgb(186, 55, 135);
/* oklch */ color: oklch(55.5% 0.185 347.3);
Tailwind
colors: {
  custom: {
    50: '#d378aa',
    500: '#ba3787',
    950: '#000000',
  },
}
SCSS
$custom: #ba3787;
$custom-light: #d378aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3787",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 323.359,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.18467,
    "h": 347.3
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#BA3787
secondary
#85C89F
accent
#DE844A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA3787

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

Preview Lab → · Contrast checker → · Palette generator →

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