#BA416D#BA416D

#BA416D is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.160 H 1.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA416D
RGBrgb(186, 65, 109)
HSLhsl(338, 48%, 49%)
HSVhsv(338, 65%, 73%)
CMYKcmyk(0%, 65.1%, 41.4%, 27.1%)
CIE-LABlab(46.08, 52.36, 1.25)
CIE-LCHlch(46.08, 52.37, 1.36°)
OKLaboklab(55.6% 0.1601 0.0039)
OKLCHoklch(55.6% 0.16 1.4)
XYZxyz(24.9020, 15.3268, 16.1120)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA416D #41BA8E
analogous
#BA41AA #BA416D #BA5241
triadic
#BA416D #6DBA41 #416DBA
tetradic
#BA416D #AABA41 #41BA8E #5241BA
square
#BA416D #AABA41 #41BA8E #5241BA
split-complementary
#BA416D #41BA52 #41AABA
monochromatic
#5F2138 #8D3152 #BA416D #CC6C8F #DC9AB2

Accessibility & contrast

On white

5.17
#BA416D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA416D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA416D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA416D#FFFFFF#000000##FFFFFF
##BA416D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6E
Deuteranopia (green-blind)
#79766A
Tritanopia (blue-blind)
#C93352
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba416d;
/* rgb */ color: rgb(186, 65, 109);
/* oklch */ color: oklch(55.6% 0.160 1.4);
Tailwind
colors: {
  custom: {
    50: '#d37d96',
    500: '#ba416d',
    950: '#000000',
  },
}
SCSS
$custom: #ba416d;
$custom-light: #d37d96;
$custom-dark: #000000;
JSON
{
  "hex": "#ba416d",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 109
  },
  "hsl": {
    "h": 338.182,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.16012,
    "h": 1.4
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#BA416D
secondary
#8FC8B3
accent
#D8A650
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA416D

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

Preview Lab → · Contrast checker → · Palette generator →

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