#BA406B#BA406B

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

Color values

HEX#BA406B
RGBrgb(186, 64, 107)
HSLhsl(339, 49%, 49%)
HSVhsv(339, 66%, 73%)
CMYKcmyk(0%, 65.6%, 42.5%, 27.1%)
CIE-LABlab(45.87, 52.57, 2.16)
CIE-LCHlch(45.87, 52.62, 2.36°)
OKLaboklab(55.42% 0.1607 0.0062)
OKLCHoklch(55.42% 0.161 2.2)
XYZxyz(24.7387, 15.1704, 15.5325)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA406B #40BA8F
analogous
#BA40A8 #BA406B #BA5240
triadic
#BA406B #6BBA40 #406BBA
tetradic
#BA406B #A8BA40 #40BA8F #5240BA
square
#BA406B #A8BA40 #40BA8F #5240BA
split-complementary
#BA406B #40BA52 #40A8BA
monochromatic
#5F2137 #8C3051 #BA406B #CC6B8D #DC99B0

Accessibility & contrast

On white

5.21
#BA406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA406B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA406B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA406B#FFFFFF#000000##FFFFFF
##BA406B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6C
Deuteranopia (green-blind)
#797568
Tritanopia (blue-blind)
#C93151
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba406b;
/* rgb */ color: rgb(186, 64, 107);
/* oklch */ color: oklch(55.4% 0.161 2.2);
Tailwind
colors: {
  custom: {
    50: '#d37c95',
    500: '#ba406b',
    950: '#000000',
  },
}
SCSS
$custom: #ba406b;
$custom-light: #d37c95;
$custom-dark: #000000;
JSON
{
  "hex": "#ba406b",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 338.852,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.16082,
    "h": 2.2
  },
  "luminance": 0.15167
}

Semantic roles & 50–950 ramp

primary
#BA406B
secondary
#8EC8B3
accent
#D8A84F
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA406B

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

Preview Lab → · Contrast checker → · Palette generator →

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