#BA4B71#BA4B71

#BA4B71 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.9% C 0.148 H 1.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA4B71
RGBrgb(186, 75, 113)
HSLhsl(339, 45%, 51%)
HSVhsv(339, 60%, 73%)
CMYKcmyk(0%, 59.7%, 39.2%, 27.1%)
CIE-LABlab(47.84, 48.36, 1.36)
CIE-LCHlch(47.84, 48.38, 1.61°)
OKLaboklab(56.95% 0.1475 0.0041)
OKLCHoklch(56.95% 0.148 1.6)
XYZxyz(25.7480, 16.6663, 17.4806)
Luminance0.1666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4B71 #4BBA94
analogous
#BA4BA8 #BA4B71 #BA5C4B
triadic
#BA4B71 #71BA4B #4B71BA
tetradic
#BA4B71 #A8BA4B #4BBA94 #5C4BBA
square
#BA4B71 #A8BA4B #4BBA94 #5C4BBA
split-complementary
#BA4B71 #4BBA5C #4BA8BA
monochromatic
#64263C #903756 #BA4B71 #CB7794 #DCA3B7

Accessibility & contrast

On white

4.85
#BA4B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA4B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4B71
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4B71#FFFFFF#000000##FFFFFF
##BA4B711.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#C9405A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4b71;
/* rgb */ color: rgb(186, 75, 113);
/* oklch */ color: oklch(56.9% 0.148 1.6);
Tailwind
colors: {
  custom: {
    50: '#d38299',
    500: '#ba4b71',
    950: '#000000',
  },
}
SCSS
$custom: #ba4b71;
$custom-light: #d38299;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4b71",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 339.459,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.14759,
    "h": 1.6
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#BA4B71
secondary
#98C9B8
accent
#D4A854
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BA4B71

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

Preview Lab → · Contrast checker → · Palette generator →

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