#BA418D#BA418D

#BA418D is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.8% C 0.175 H 345.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA418D
RGBrgb(186, 65, 141)
HSLhsl(322, 48%, 49%)
HSVhsv(322, 65%, 73%)
CMYKcmyk(0%, 65.1%, 24.2%, 27.1%)
CIE-LABlab(47.16, 56.21, -16.58)
CIE-LCHlch(47.16, 58.61, 343.57°)
OKLaboklab(56.76% 0.1695 -0.044)
OKLCHoklch(56.76% 0.175 345.5)
XYZxyz(26.9487, 16.1454, 26.8913)
Luminance0.1614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA418D #41BA6E
analogous
#AB41BA #BA418D #BA4151
triadic
#BA418D #8DBA41 #418DBA
tetradic
#BA418D #BAAB41 #41BA6E #4151BA
square
#BA418D #BAAB41 #41BA6E #4151BA
split-complementary
#BA418D #51BA41 #41BAAB
monochromatic
#5F2148 #8D316B #BA418D #CC6CA8 #DC9AC3

Accessibility & contrast

On white

4.97
#BA418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA418D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA418D#FFFFFF#000000##FFFFFF
##BA418D1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#71778A
Tritanopia (blue-blind)
#C63F61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba418d;
/* rgb */ color: rgb(186, 65, 141);
/* oklch */ color: oklch(56.8% 0.175 345.5);
Tailwind
colors: {
  custom: {
    50: '#d27eae',
    500: '#ba418d',
    950: '#000000',
  },
}
SCSS
$custom: #ba418d;
$custom-light: #d27eae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba418d",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 322.314,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.17513,
    "h": 345.5
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#BA418D
secondary
#8FC8A4
accent
#D88350
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA418D

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

Preview Lab → · Contrast checker → · Palette generator →

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