#BA4F85#BA4F85

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

Color values

HEX#BA4F85
RGBrgb(186, 79, 133)
HSLhsl(330, 44%, 52%)
HSVhsv(330, 58%, 73%)
CMYKcmyk(0%, 57.5%, 28.5%, 27.1%)
CIE-LABlab(49.16, 48.94, -8.75)
CIE-LCHlch(49.16, 49.72, 349.87°)
OKLaboklab(58.14% 0.1483 -0.0226)
OKLCHoklch(58.14% 0.15 351.3)
XYZxyz(27.2804, 17.7271, 24.1707)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4F85 #4FBA84
analogous
#BA4FBA #BA4F85 #BA4F50
triadic
#BA4F85 #85BA4F #4F85BA
tetradic
#BA4F85 #BABA4F #4FBA84 #4F50BA
square
#BA4F85 #BABA4F #4FBA84 #4F50BA
split-complementary
#BA4F85 #50BA4F #4FBABA
monochromatic
#662848 #923966 #BA4F85 #CB7BA3 #DCA7C2

Accessibility & contrast

On white

4.62
#BA4F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA4F85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4F85
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4F85#FFFFFF#000000##FFFFFF
##BA4F851.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba4f85;
/* rgb */ color: rgb(186, 79, 133);
/* oklch */ color: oklch(58.1% 0.150 351.3);
Tailwind
colors: {
  custom: {
    50: '#d285a8',
    500: '#ba4f85',
    950: '#000000',
  },
}
SCSS
$custom: #ba4f85;
$custom-light: #d285a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4f85",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 329.72,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5814,
    "c": 0.15005,
    "h": 351.3
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#BA4F85
secondary
#9BCAB2
accent
#D39354
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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