#BA4282#BA4282

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

Color values

HEX#BA4282
RGBrgb(186, 66, 130)
HSLhsl(328, 48%, 49%)
HSVhsv(328, 65%, 73%)
CMYKcmyk(0%, 64.5%, 30.1%, 27.1%)
CIE-LABlab(46.91, 54.36, -10.32)
CIE-LCHlch(46.91, 55.34, 349.25°)
OKLaboklab(56.44% 0.1654 -0.0268)
OKLCHoklch(56.44% 0.168 350.8)
XYZxyz(26.2284, 15.9500, 22.8121)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4282 #42BA7A
analogous
#B642BA #BA4282 #BA4246
triadic
#BA4282 #82BA42 #4282BA
tetradic
#BA4282 #BAB642 #42BA7A #4246BA
square
#BA4282 #BAB642 #42BA7A #4246BA
split-complementary
#BA4282 #46BA42 #42BAB6
monochromatic
#602243 #8D3262 #BA4282 #CB6EA0 #DB9BBD

Accessibility & contrast

On white

5.01
#BA4282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA4282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4282
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4282#FFFFFF#000000##FFFFFF
##BA42821.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536284
Deuteranopia (green-blind)
#75777F
Tritanopia (blue-blind)
#C73C5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4282;
/* rgb */ color: rgb(186, 66, 130);
/* oklch */ color: oklch(56.4% 0.168 350.8);
Tailwind
colors: {
  custom: {
    50: '#d27ea6',
    500: '#ba4282',
    950: '#000000',
  },
}
SCSS
$custom: #ba4282;
$custom-light: #d27ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4282",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 328,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.16756,
    "h": 350.8
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#BA4282
secondary
#90C8AA
accent
#D78F51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4282

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

Preview Lab → · Contrast checker → · Palette generator →

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