#BA416E#BA416E

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

Color values

HEX#BA416E
RGBrgb(186, 65, 110)
HSLhsl(338, 48%, 49%)
HSVhsv(338, 65%, 73%)
CMYKcmyk(0%, 65.1%, 40.9%, 27.1%)
CIE-LABlab(46.11, 52.47, 0.68)
CIE-LCHlch(46.11, 52.47, 0.74°)
OKLaboklab(55.63% 0.1604 0.0024)
OKLCHoklch(55.63% 0.16 0.8)
XYZxyz(24.9561, 15.3484, 16.3971)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA416E #41BA8D
analogous
#BA41AB #BA416E #BA5141
triadic
#BA416E #6EBA41 #416EBA
tetradic
#BA416E #ABBA41 #41BA8D #5141BA
square
#BA416E #ABBA41 #41BA8D #5141BA
split-complementary
#BA416E #41BA51 #41ABBA
monochromatic
#5F2138 #8D3153 #BA416E #CC6C90 #DC9AB2

Accessibility & contrast

On white

5.16
#BA416E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA416E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA416E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA416E#FFFFFF#000000##FFFFFF
##BA416E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F6F
Deuteranopia (green-blind)
#79766B
Tritanopia (blue-blind)
#C93353
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba416e;
/* rgb */ color: rgb(186, 65, 110);
/* oklch */ color: oklch(55.6% 0.160 0.8);
Tailwind
colors: {
  custom: {
    50: '#d37d97',
    500: '#ba416e',
    950: '#000000',
  },
}
SCSS
$custom: #ba416e;
$custom-light: #d37d97;
$custom-dark: #000000;
JSON
{
  "hex": "#ba416e",
  "rgb": {
    "r": 186,
    "g": 65,
    "b": 110
  },
  "hsl": {
    "h": 337.686,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.16044,
    "h": 0.8
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA416E

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

Preview Lab → · Contrast checker → · Palette generator →

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