#BA406E#BA406E

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

Color values

HEX#BA406E
RGBrgb(186, 64, 110)
HSLhsl(337, 49%, 49%)
HSVhsv(337, 66%, 73%)
CMYKcmyk(0%, 65.6%, 40.9%, 27.1%)
CIE-LABlab(45.95, 52.89, 0.45)
CIE-LCHlch(45.95, 52.89, 0.49°)
OKLaboklab(55.52% 0.1618 0.0018)
OKLCHoklch(55.52% 0.162 0.6)
XYZxyz(24.8992, 15.2346, 16.3782)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA406E #40BA8C
analogous
#BA40AB #BA406E #BA4F40
triadic
#BA406E #6EBA40 #406EBA
tetradic
#BA406E #ABBA40 #40BA8C #4F40BA
square
#BA406E #ABBA40 #40BA8C #4F40BA
split-complementary
#BA406E #40BA4F #40ABBA
monochromatic
#5F2138 #8C3053 #BA406E #CC6B90 #DC99B2

Accessibility & contrast

On white

5.19
#BA406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA406E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA406E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA406E#FFFFFF#000000##FFFFFF
##BA406E1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6F
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#C93252
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba406e;
/* rgb */ color: rgb(186, 64, 110);
/* oklch */ color: oklch(55.5% 0.162 0.6);
Tailwind
colors: {
  custom: {
    50: '#d37c97',
    500: '#ba406e',
    950: '#000000',
  },
}
SCSS
$custom: #ba406e;
$custom-light: #d37c97;
$custom-dark: #000000;
JSON
{
  "hex": "#ba406e",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 337.377,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.16176,
    "h": 0.6
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA406E

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

Preview Lab → · Contrast checker → · Palette generator →

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