#BA4178#BA4178

#BA4178 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.0% C 0.164 H 355.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA4178
RGBrgb(186, 65, 120)
HSLhsl(333, 48%, 49%)
HSVhsv(333, 65%, 73%)
CMYKcmyk(0%, 65.1%, 35.5%, 27.1%)
CIE-LABlab(46.42, 53.58, -4.98)
CIE-LCHlch(46.42, 53.81, 354.69°)
OKLaboklab(55.96% 0.1637 -0.0124)
OKLCHoklch(55.96% 0.164 355.7)
XYZxyz(25.5316, 15.5786, 19.4281)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4178 #41BA83
analogous
#BA41B5 #BA4178 #BA4741
triadic
#BA4178 #78BA41 #4178BA
tetradic
#BA4178 #B5BA41 #41BA83 #4741BA
square
#BA4178 #B5BA41 #41BA83 #4741BA
split-complementary
#BA4178 #41BA47 #41B5BA
monochromatic
#5F213D #8D315B #BA4178 #CC6C98 #DC9AB8

Accessibility & contrast

On white

5.10
#BA4178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA4178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4178
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4178#FFFFFF#000000##FFFFFF
##BA41781.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607A
Deuteranopia (green-blind)
#777675
Tritanopia (blue-blind)
#C83757
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4178;
/* rgb */ color: rgb(186, 65, 120);
/* oklch */ color: oklch(56.0% 0.164 355.7);
Tailwind
colors: {
  custom: {
    50: '#d37d9e',
    500: '#ba4178',
    950: '#000000',
  },
}
SCSS
$custom: #ba4178;
$custom-light: #d37d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4178",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 332.727,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.1642,
    "h": 355.7
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#BA4178
secondary
#8FC8AE
accent
#D89A50
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4178

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

Preview Lab → · Contrast checker → · Palette generator →

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