#BA4280#BA4280

#BA4280 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.167 H 351.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA4280
RGBrgb(186, 66, 128)
HSLhsl(329, 48%, 49%)
HSVhsv(329, 65%, 73%)
CMYKcmyk(0%, 64.5%, 31.2%, 27.1%)
CIE-LABlab(46.84, 54.11, -9.22)
CIE-LCHlch(46.84, 54.89, 350.34°)
OKLaboklab(56.36% 0.1648 -0.0238)
OKLCHoklch(56.36% 0.167 351.8)
XYZxyz(26.0955, 15.8968, 22.1120)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4280 #42BA7C
analogous
#B842BA #BA4280 #BA4244
triadic
#BA4280 #80BA42 #4280BA
tetradic
#BA4280 #BAB842 #42BA7C #4244BA
square
#BA4280 #BAB842 #42BA7C #4244BA
split-complementary
#BA4280 #44BA42 #42BAB8
monochromatic
#602242 #8D3261 #BA4280 #CB6E9E #DB9BBC

Accessibility & contrast

On white

5.03
#BA4280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4280
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4280#FFFFFF#000000##FFFFFF
##BA42801.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546182
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#C73B5B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4280;
/* rgb */ color: rgb(186, 66, 128);
/* oklch */ color: oklch(56.4% 0.167 351.8);
Tailwind
colors: {
  custom: {
    50: '#d37ea4',
    500: '#ba4280',
    950: '#000000',
  },
}
SCSS
$custom: #ba4280;
$custom-light: #d37ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4280",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 128
  },
  "hsl": {
    "h": 329,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.16654,
    "h": 351.8
  },
  "luminance": 0.15894
}

Semantic roles & 50–950 ramp

primary
#BA4280
secondary
#90C8AB
accent
#D79251
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4280

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

Preview Lab → · Contrast checker → · Palette generator →

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