#BA4186#BA4186

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

Color values

HEX#BA4186
RGBrgb(186, 65, 134)
HSLhsl(326, 48%, 49%)
HSVhsv(326, 65%, 73%)
CMYKcmyk(0%, 65.1%, 28%, 27.1%)
CIE-LABlab(46.90, 55.29, -12.76)
CIE-LCHlch(46.90, 56.74, 347.01°)
OKLaboklab(56.48% 0.1678 -0.0334)
OKLCHoklch(56.48% 0.171 348.7)
XYZxyz(26.4442, 15.9437, 24.2344)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4186 #41BA75
analogous
#B241BA #BA4186 #BA414A
triadic
#BA4186 #86BA41 #4186BA
tetradic
#BA4186 #BAB241 #41BA75 #414ABA
square
#BA4186 #BAB241 #41BA75 #414ABA
split-complementary
#BA4186 #4ABA41 #41BAB2
monochromatic
#5F2145 #8D3165 #BA4186 #CC6CA3 #DC9ABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4186#FFFFFF#000000##FFFFFF
##BA41861.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)
#516288
Deuteranopia (green-blind)
#737783
Tritanopia (blue-blind)
#C73C5E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4186;
/* rgb */ color: rgb(186, 65, 134);
/* oklch */ color: oklch(56.5% 0.171 348.7);
Tailwind
colors: {
  custom: {
    50: '#d27da9',
    500: '#ba4186',
    950: '#000000',
  },
}
SCSS
$custom: #ba4186;
$custom-light: #d27da9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4186",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 325.785,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.17108,
    "h": 348.7
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#BA4186
secondary
#8FC8A7
accent
#D88A50
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4186

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

Preview Lab → · Contrast checker → · Palette generator →

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