#BA406D#BA406D

#BA406D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.5% C 0.161 H 1.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA406D
RGBrgb(186, 64, 109)
HSLhsl(338, 49%, 49%)
HSVhsv(338, 66%, 73%)
CMYKcmyk(0%, 65.6%, 41.4%, 27.1%)
CIE-LABlab(45.92, 52.78, 1.02)
CIE-LCHlch(45.92, 52.79, 1.11°)
OKLaboklab(55.48% 0.1614 0.0033)
OKLCHoklch(55.48% 0.161 1.2)
XYZxyz(24.8451, 15.2130, 16.0931)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA406D #40BA8D
analogous
#BA40AA #BA406D #BA5040
triadic
#BA406D #6DBA40 #406DBA
tetradic
#BA406D #AABA40 #40BA8D #5040BA
square
#BA406D #AABA40 #40BA8D #5040BA
split-complementary
#BA406D #40BA50 #40AABA
monochromatic
#5F2138 #8C3052 #BA406D #CC6B8F #DC99B1

Accessibility & contrast

On white

5.20
#BA406D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA406D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA406D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA406D#FFFFFF#000000##FFFFFF
##BA406D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6E
Deuteranopia (green-blind)
#79756A
Tritanopia (blue-blind)
#C93252
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba406d;
/* rgb */ color: rgb(186, 64, 109);
/* oklch */ color: oklch(55.5% 0.161 1.2);
Tailwind
colors: {
  custom: {
    50: '#d37c96',
    500: '#ba406d',
    950: '#000000',
  },
}
SCSS
$custom: #ba406d;
$custom-light: #d37c96;
$custom-dark: #000000;
JSON
{
  "hex": "#ba406d",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 337.869,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.16143,
    "h": 1.2
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#BA406D
secondary
#8EC8B2
accent
#D8A64F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA406D

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

Preview Lab → · Contrast checker → · Palette generator →

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