#BA4F71#BA4F71

#BA4F71 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.5% C 0.142 H 2.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA4F71
RGBrgb(186, 79, 113)
HSLhsl(341, 44%, 52%)
HSVhsv(341, 58%, 73%)
CMYKcmyk(0%, 57.5%, 39.2%, 27.1%)
CIE-LABlab(48.54, 46.49, 2.39)
CIE-LCHlch(48.54, 46.55, 2.94°)
OKLaboklab(57.47% 0.1417 0.0068)
OKLCHoklch(57.47% 0.142 2.7)
XYZxyz(26.0279, 17.2261, 17.5738)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F71 #4FBA98
analogous
#BA4FA6 #BA4F71 #BA634F
triadic
#BA4F71 #71BA4F #4F71BA
tetradic
#BA4F71 #A6BA4F #4FBA98 #634FBA
square
#BA4F71 #A6BA4F #4FBA98 #634FBA
split-complementary
#BA4F71 #4FBA63 #4FA6BA
monochromatic
#66283C #923956 #BA4F71 #CB7B94 #DCA7B8

Accessibility & contrast

On white

4.72
#BA4F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BA4F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F71
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F71#FFFFFF#000000##FFFFFF
##BA4F711.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#7E7B6F
Tritanopia (blue-blind)
#C9445C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba4f71;
/* rgb */ color: rgb(186, 79, 113);
/* oklch */ color: oklch(57.5% 0.142 2.7);
Tailwind
colors: {
  custom: {
    50: '#d28599',
    500: '#ba4f71',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f71;
$custom-light: #d28599;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f71",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 340.935,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.14181,
    "h": 2.7
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#BA4F71
secondary
#9BCABB
accent
#D3AB54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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