#BA4F80#BA4F80

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

Color values

HEX#BA4F80
RGBrgb(186, 79, 128)
HSLhsl(333, 44%, 52%)
HSVhsv(333, 58%, 73%)
CMYKcmyk(0%, 57.5%, 31.2%, 27.1%)
CIE-LABlab(49.00, 48.29, -5.99)
CIE-LCHlch(49.00, 48.66, 352.93°)
OKLaboklab(57.96% 0.1468 -0.0152)
OKLCHoklch(57.96% 0.148 354.1)
XYZxyz(26.9432, 17.5922, 22.3946)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F80 #4FBA89
analogous
#BA4FB6 #BA4F80 #BA544F
triadic
#BA4F80 #80BA4F #4F80BA
tetradic
#BA4F80 #B6BA4F #4FBA89 #544FBA
square
#BA4F80 #B6BA4F #4FBA89 #544FBA
split-complementary
#BA4F80 #4FBA54 #4FB6BA
monochromatic
#662845 #923962 #BA4F80 #CB7BA0 #DCA7BF

Accessibility & contrast

On white

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

On black

4.52
#BA4F80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4F80#FFFFFF#000000##FFFFFF
##BA4F801.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6882
Deuteranopia (green-blind)
#7B7C7D
Tritanopia (blue-blind)
#C74962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba4f80;
/* rgb */ color: rgb(186, 79, 128);
/* oklch */ color: oklch(58.0% 0.148 354.1);
Tailwind
colors: {
  custom: {
    50: '#d285a4',
    500: '#ba4f80',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f80;
$custom-light: #d285a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f80",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 332.523,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.14756,
    "h": 354.1
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#BA4F80
secondary
#9BCAB4
accent
#D39954
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4F80

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

Preview Lab → · Contrast checker → · Palette generator →

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