#BA4173#BA4173

#BA4173 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.8% C 0.162 H 358.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA4173
RGBrgb(186, 65, 115)
HSLhsl(335, 48%, 49%)
HSVhsv(335, 65%, 73%)
CMYKcmyk(0%, 65.1%, 38.2%, 27.1%)
CIE-LABlab(46.26, 53.01, -2.16)
CIE-LCHlch(46.26, 53.05, 357.66°)
OKLaboklab(55.79% 0.1621 -0.005)
OKLCHoklch(55.79% 0.162 358.2)
XYZxyz(25.2361, 15.4604, 17.8715)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4173 #41BA88
analogous
#BA41B0 #BA4173 #BA4C41
triadic
#BA4173 #73BA41 #4173BA
tetradic
#BA4173 #B0BA41 #41BA88 #4C41BA
square
#BA4173 #B0BA41 #41BA88 #4C41BA
split-complementary
#BA4173 #41BA4C #41B0BA
monochromatic
#5F213B #8D3157 #BA4173 #CC6C94 #DC9AB5

Accessibility & contrast

On white

5.13
#BA4173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA4173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4173
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4173#FFFFFF#000000##FFFFFF
##BA41731.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F74
Deuteranopia (green-blind)
#787670
Tritanopia (blue-blind)
#C93555
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4173;
/* rgb */ color: rgb(186, 65, 115);
/* oklch */ color: oklch(55.8% 0.162 358.2);
Tailwind
colors: {
  custom: {
    50: '#d37d9b',
    500: '#ba4173',
    950: '#000000',
  },
}
SCSS
$custom: #ba4173;
$custom-light: #d37d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4173",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 335.207,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.1622,
    "h": 358.2
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#BA4173
secondary
#8FC8B0
accent
#D8A050
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA4173

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

Preview Lab → · Contrast checker → · Palette generator →

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