#BA4E71#BA4E71

#BA4E71 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.143 H 2.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA4E71
RGBrgb(186, 78, 113)
HSLhsl(341, 44%, 52%)
HSVhsv(341, 58%, 73%)
CMYKcmyk(0%, 58.1%, 39.2%, 27.1%)
CIE-LABlab(48.36, 46.96, 2.13)
CIE-LCHlch(48.36, 47.01, 2.60°)
OKLaboklab(57.34% 0.1431 0.0061)
OKLCHoklch(57.34% 0.143 2.4)
XYZxyz(25.9563, 17.0829, 17.5500)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4E71 #4EBA97
analogous
#BA4EA7 #BA4E71 #BA614E
triadic
#BA4E71 #71BA4E #4E71BA
tetradic
#BA4E71 #A7BA4E #4EBA97 #614EBA
square
#BA4E71 #A7BA4E #4EBA97 #614EBA
split-complementary
#BA4E71 #4EBA61 #4EA7BA
monochromatic
#66283C #923956 #BA4E71 #CB7A94 #DCA6B8

Accessibility & contrast

On white

4.76
#BA4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4E71
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4E71#FFFFFF#000000##FFFFFF
##BA4E711.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4e71;
/* rgb */ color: rgb(186, 78, 113);
/* oklch */ color: oklch(57.3% 0.143 2.4);
Tailwind
colors: {
  custom: {
    50: '#d38499',
    500: '#ba4e71',
    950: '#000000',
  },
}
SCSS
$custom: #ba4e71;
$custom-light: #d38499;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4e71",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 340.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.14327,
    "h": 2.4
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#BA4E71
secondary
#9ACABA
accent
#D4AA54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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