#BA416B#BA416B

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

Color values

HEX#BA416B
RGBrgb(186, 65, 107)
HSLhsl(339, 48%, 49%)
HSVhsv(339, 65%, 73%)
CMYKcmyk(0%, 65.1%, 42.5%, 27.1%)
CIE-LABlab(46.02, 52.15, 2.39)
CIE-LCHlch(46.02, 52.21, 2.62°)
OKLaboklab(55.54% 0.1594 0.0068)
OKLCHoklch(55.54% 0.16 2.4)
XYZxyz(24.7956, 15.2842, 15.5515)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA416B #41BA90
analogous
#BA41A8 #BA416B #BA5441
triadic
#BA416B #6BBA41 #416BBA
tetradic
#BA416B #A8BA41 #41BA90 #5441BA
square
#BA416B #A8BA41 #41BA90 #5441BA
split-complementary
#BA416B #41BA54 #41A8BA
monochromatic
#5F2137 #8D3151 #BA416B #CC6C8E #DC9AB1

Accessibility & contrast

On white

5.18
#BA416B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA416B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA416B#FFFFFF#000000##FFFFFF
##BA416B1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6C
Deuteranopia (green-blind)
#797668
Tritanopia (blue-blind)
#C93252
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba416b;
/* rgb */ color: rgb(186, 65, 107);
/* oklch */ color: oklch(55.5% 0.160 2.4);
Tailwind
colors: {
  custom: {
    50: '#d37d95',
    500: '#ba416b',
    950: '#000000',
  },
}
SCSS
$custom: #ba416b;
$custom-light: #d37d95;
$custom-dark: #000000;
JSON
{
  "hex": "#ba416b",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 107
  },
  "hsl": {
    "h": 339.174,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.15951,
    "h": 2.4
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA416B

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

Preview Lab → · Contrast checker → · Palette generator →

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