#BA416C#BA416C

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

Color values

HEX#BA416C
RGBrgb(186, 65, 108)
HSLhsl(339, 48%, 49%)
HSVhsv(339, 65%, 73%)
CMYKcmyk(0%, 65.1%, 41.9%, 27.1%)
CIE-LABlab(46.05, 52.26, 1.82)
CIE-LCHlch(46.05, 52.29, 1.99°)
OKLaboklab(55.57% 0.1597 0.0053)
OKLCHoklch(55.57% 0.16 1.9)
XYZxyz(24.8485, 15.3054, 15.8301)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA416C #41BA8F
analogous
#BA41A9 #BA416C #BA5341
triadic
#BA416C #6CBA41 #416CBA
tetradic
#BA416C #A9BA41 #41BA8F #5341BA
square
#BA416C #A9BA41 #41BA8F #5341BA
split-complementary
#BA416C #41BA53 #41A9BA
monochromatic
#5F2137 #8D3152 #BA416C #CC6C8E #DC9AB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA416C#FFFFFF#000000##FFFFFF
##BA416C1.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)
#595E6D
Deuteranopia (green-blind)
#797669
Tritanopia (blue-blind)
#C93352
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba416c;
/* rgb */ color: rgb(186, 65, 108);
/* oklch */ color: oklch(55.6% 0.160 1.9);
Tailwind
colors: {
  custom: {
    50: '#d37d95',
    500: '#ba416c',
    950: '#000000',
  },
}
SCSS
$custom: #ba416c;
$custom-light: #d37d95;
$custom-dark: #000000;
JSON
{
  "hex": "#ba416c",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 338.678,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.15981,
    "h": 1.9
  },
  "luminance": 0.15302
}

Semantic roles & 50–950 ramp

primary
#BA416C
secondary
#8FC8B4
accent
#D8A850
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA416C

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

Preview Lab → · Contrast checker → · Palette generator →

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