#BA4285#BA4285

#BA4285 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.5% C 0.169 H 349.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA4285
RGBrgb(186, 66, 133)
HSLhsl(327, 48%, 49%)
HSVhsv(327, 65%, 73%)
CMYKcmyk(0%, 64.5%, 28.5%, 27.1%)
CIE-LABlab(47.02, 54.74, -11.98)
CIE-LCHlch(47.02, 56.04, 347.66°)
OKLaboklab(56.55% 0.1662 -0.0313)
OKLCHoklch(56.55% 0.169 349.3)
XYZxyz(26.4327, 16.0317, 23.8881)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4285 #42BA77
analogous
#B342BA #BA4285 #BA4249
triadic
#BA4285 #85BA42 #4285BA
tetradic
#BA4285 #BAB342 #42BA77 #4249BA
square
#BA4285 #BAB342 #42BA77 #4249BA
split-complementary
#BA4285 #49BA42 #42BAB3
monochromatic
#602244 #8D3265 #BA4285 #CB6EA2 #DB9BBF

Accessibility & contrast

On white

4.99
#BA4285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA4285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4285
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4285#FFFFFF#000000##FFFFFF
##BA42851.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526287
Deuteranopia (green-blind)
#747782
Tritanopia (blue-blind)
#C73D5E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4285;
/* rgb */ color: rgb(186, 66, 133);
/* oklch */ color: oklch(56.5% 0.169 349.3);
Tailwind
colors: {
  custom: {
    50: '#d27ea8',
    500: '#ba4285',
    950: '#000000',
  },
}
SCSS
$custom: #ba4285;
$custom-light: #d27ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4285",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 326.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.16915,
    "h": 349.3
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#BA4285
secondary
#90C8A9
accent
#D78C51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4285

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

Preview Lab → · Contrast checker → · Palette generator →

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