#BA4F84#BA4F84

#BA4F84 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.1% C 0.150 H 351.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA4F84
RGBrgb(186, 79, 132)
HSLhsl(330, 44%, 52%)
HSVhsv(330, 58%, 73%)
CMYKcmyk(0%, 57.5%, 29%, 27.1%)
CIE-LABlab(49.13, 48.81, -8.20)
CIE-LCHlch(49.13, 49.49, 350.47°)
OKLaboklab(58.1% 0.148 -0.0211)
OKLCHoklch(58.1% 0.15 351.9)
XYZxyz(27.2117, 17.6996, 23.8086)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F84 #4FBA85
analogous
#BA4FBA #BA4F84 #BA504F
triadic
#BA4F84 #84BA4F #4F84BA
tetradic
#BA4F84 #BABA4F #4FBA85 #504FBA
square
#BA4F84 #BABA4F #4FBA85 #504FBA
split-complementary
#BA4F84 #4FBA50 #4FBABA
monochromatic
#662847 #923965 #BA4F84 #CB7BA3 #DCA7C1

Accessibility & contrast

On white

4.63
#BA4F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA4F84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F84
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F84#FFFFFF#000000##FFFFFF
##BA4F841.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6986
Deuteranopia (green-blind)
#7A7C81
Tritanopia (blue-blind)
#C74A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba4f84;
/* rgb */ color: rgb(186, 79, 132);
/* oklch */ color: oklch(58.1% 0.150 351.9);
Tailwind
colors: {
  custom: {
    50: '#d285a7',
    500: '#ba4f84',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f84;
$custom-light: #d285a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f84",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 330.28,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.14952,
    "h": 351.9
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#BA4F84
secondary
#9BCAB3
accent
#D39454
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4F84

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

Preview Lab → · Contrast checker → · Palette generator →

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