#BA377F#BA377F

#BA377F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.180 H 350.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA377F
RGBrgb(186, 55, 127)
HSLhsl(327, 54%, 47%)
HSVhsv(327, 70%, 73%)
CMYKcmyk(0%, 70.4%, 31.7%, 27.1%)
CIE-LABlab(45.23, 58.34, -11.03)
CIE-LCHlch(45.23, 59.37, 349.30°)
OKLaboklab(55.17% 0.1781 -0.0286)
OKLCHoklch(55.17% 0.18 350.9)
XYZxyz(25.4480, 14.7067, 21.5731)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA377F #37BA72
analogous
#B437BA #BA377F #BA373D
triadic
#BA377F #7FBA37 #377FBA
tetradic
#BA377F #BAB437 #37BA72 #373DBA
square
#BA377F #BAB437 #37BA72 #373DBA
split-complementary
#BA377F #3DBA37 #37BAB4
monochromatic
#5C1B3E #8B295F #BA377F #D05F9D #DE8EBA

Accessibility & contrast

On white

5.33
#BA377F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA377F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA377F
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA377F#FFFFFF#000000##FFFFFF
##BA377F1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C82F56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba377f;
/* rgb */ color: rgb(186, 55, 127);
/* oklch */ color: oklch(55.2% 0.180 350.9);
Tailwind
colors: {
  custom: {
    50: '#d378a4',
    500: '#ba377f',
    950: '#000000',
  },
}
SCSS
$custom: #ba377f;
$custom-light: #d378a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba377f",
  "rgb": {
    "r": 186,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 327.023,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.18042,
    "h": 350.9
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#BA377F
secondary
#85C8A3
accent
#DE8D4A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA377F

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

Preview Lab → · Contrast checker → · Palette generator →

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