#BA418A#BA418A

#BA418A is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.173 H 346.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA418A
RGBrgb(186, 65, 138)
HSLhsl(324, 48%, 49%)
HSVhsv(324, 65%, 73%)
CMYKcmyk(0%, 65.1%, 25.8%, 27.1%)
CIE-LABlab(47.05, 55.81, -14.95)
CIE-LCHlch(47.05, 57.78, 345.01°)
OKLaboklab(56.64% 0.1688 -0.0394)
OKLCHoklch(56.64% 0.173 346.8)
XYZxyz(26.7285, 16.0574, 25.7316)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA418A #41BA71
analogous
#AE41BA #BA418A #BA414D
triadic
#BA418A #8ABA41 #418ABA
tetradic
#BA418A #BAAE41 #41BA71 #414DBA
square
#BA418A #BAAE41 #41BA71 #414DBA
split-complementary
#BA418A #4DBA41 #41BAAE
monochromatic
#5F2147 #8D3168 #BA418A #CC6CA6 #DC9AC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA418A#FFFFFF#000000##FFFFFF
##BA418A1.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)
#4F628C
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#C63E60
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba418a;
/* rgb */ color: rgb(186, 65, 138);
/* oklch */ color: oklch(56.6% 0.173 346.8);
Tailwind
colors: {
  custom: {
    50: '#d27dac',
    500: '#ba418a',
    950: '#000000',
  },
}
SCSS
$custom: #ba418a;
$custom-light: #d27dac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba418a",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 323.802,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.17335,
    "h": 346.8
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#BA418A
secondary
#8FC8A6
accent
#D88650
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA418A

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

Preview Lab → · Contrast checker → · Palette generator →

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