#BA5173#BA5173

#BA5173 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.139 H 2.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA5173
RGBrgb(186, 81, 115)
HSLhsl(341, 43%, 52%)
HSVhsv(341, 56%, 73%)
CMYKcmyk(0%, 56.5%, 38.2%, 27.1%)
CIE-LABlab(48.96, 45.75, 1.79)
CIE-LCHlch(48.96, 45.79, 2.24°)
OKLaboklab(57.81% 0.1394 0.0052)
OKLCHoklch(57.81% 0.139 2.1)
XYZxyz(26.2881, 17.5645, 18.2222)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5173 #51BA98
analogous
#BA51A8 #BA5173 #BA6351
triadic
#BA5173 #73BA51 #5173BA
tetradic
#BA5173 #A8BA51 #51BA98 #6351BA
square
#BA5173 #A8BA51 #51BA98 #6351BA
split-complementary
#BA5173 #51BA63 #51A8BA
monochromatic
#68293D #933A57 #BA5173 #CB7D96 #DDA9BA

Accessibility & contrast

On white

4.65
#BA5173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA5173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5173
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5173#FFFFFF#000000##FFFFFF
##BA51731.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646874
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#C8475E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba5173;
/* rgb */ color: rgb(186, 81, 115);
/* oklch */ color: oklch(57.8% 0.139 2.1);
Tailwind
colors: {
  custom: {
    50: '#d2869b',
    500: '#ba5173',
    950: '#000000',
  },
}
SCSS
$custom: #ba5173;
$custom-light: #d2869b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5173",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 340.571,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.13948,
    "h": 2.1
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#BA5173
secondary
#9DCABB
accent
#D3AA55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA5173

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

Preview Lab → · Contrast checker → · Palette generator →

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