#BA4D71#BA4D71

#BA4D71 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.145 H 2.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA4D71
RGBrgb(186, 77, 113)
HSLhsl(340, 44%, 52%)
HSVhsv(340, 59%, 73%)
CMYKcmyk(0%, 58.6%, 39.2%, 27.1%)
CIE-LABlab(48.19, 47.43, 1.87)
CIE-LCHlch(48.19, 47.47, 2.26°)
OKLaboklab(57.21% 0.1446 0.0054)
OKLCHoklch(57.21% 0.145 2.2)
XYZxyz(25.8858, 16.9419, 17.5265)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4D71 #4DBA96
analogous
#BA4DA8 #BA4D71 #BA5F4D
triadic
#BA4D71 #71BA4D #4D71BA
tetradic
#BA4D71 #A8BA4D #4DBA96 #5F4DBA
square
#BA4D71 #A8BA4D #4DBA96 #5F4DBA
split-complementary
#BA4D71 #4DBA5F #4DA8BA
monochromatic
#65273C #913856 #BA4D71 #CB7994 #DCA5B7

Accessibility & contrast

On white

4.79
#BA4D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA4D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4D71
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4D71#FFFFFF#000000##FFFFFF
##BA4D711.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616572
Deuteranopia (green-blind)
#7D7A6E
Tritanopia (blue-blind)
#C9425B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba4d71;
/* rgb */ color: rgb(186, 77, 113);
/* oklch */ color: oklch(57.2% 0.145 2.2);
Tailwind
colors: {
  custom: {
    50: '#d38499',
    500: '#ba4d71',
    950: '#000000',
  },
}
SCSS
$custom: #ba4d71;
$custom-light: #d38499;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4d71",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 340.183,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57207,
    "c": 0.14471,
    "h": 2.2
  },
  "luminance": 0.16939
}

Semantic roles & 50–950 ramp

primary
#BA4D71
secondary
#99C9BA
accent
#D4AA54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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