#BA4784#BA4784

#BA4784 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.1% C 0.162 H 350.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA4784
RGBrgb(186, 71, 132)
HSLhsl(328, 45%, 50%)
HSVhsv(328, 62%, 73%)
CMYKcmyk(0%, 61.8%, 29%, 27.1%)
CIE-LABlab(47.77, 52.46, -10.24)
CIE-LCHlch(47.77, 53.45, 348.96°)
OKLaboklab(57.1% 0.1593 -0.0266)
OKLCHoklch(57.1% 0.162 350.5)
XYZxyz(26.6690, 16.6142, 23.6277)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4784 #47BA7D
analogous
#B747BA #BA4784 #BA474A
triadic
#BA4784 #84BA47 #4784BA
tetradic
#BA4784 #BAB747 #47BA7D #474ABA
square
#BA4784 #BAB747 #47BA7D #474ABA
split-complementary
#BA4784 #4ABA47 #47BAB7
monochromatic
#622545 #8E3565 #BA4784 #CB74A2 #DBA0C0

Accessibility & contrast

On white

4.86
#BA4784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA4784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4784
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4784#FFFFFF#000000##FFFFFF
##BA47841.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566486
Deuteranopia (green-blind)
#767981
Tritanopia (blue-blind)
#C74260
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4784;
/* rgb */ color: rgb(186, 71, 132);
/* oklch */ color: oklch(57.1% 0.162 350.5);
Tailwind
colors: {
  custom: {
    50: '#d281a7',
    500: '#ba4784',
    950: '#000000',
  },
}
SCSS
$custom: #ba4784;
$custom-light: #d281a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4784",
  "rgb": {
    "r": 186,
    "g": 71,
    "b": 132
  },
  "hsl": {
    "h": 328.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.1615,
    "h": 350.5
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#BA4784
secondary
#95C8AD
accent
#D59053
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #BA4784

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

Preview Lab → · Contrast checker → · Palette generator →

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