#BA406F#BA406F

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

Color values

HEX#BA406F
RGBrgb(186, 64, 111)
HSLhsl(337, 49%, 49%)
HSVhsv(337, 66%, 73%)
CMYKcmyk(0%, 65.6%, 40.3%, 27.1%)
CIE-LABlab(45.98, 52.99, -0.12)
CIE-LCHlch(45.98, 52.99, 359.87°)
OKLaboklab(55.55% 0.1621 0.0003)
OKLCHoklch(55.55% 0.162 0.1)
XYZxyz(24.9540, 15.2565, 16.6665)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA406F #40BA8B
analogous
#BA40AC #BA406F #BA4E40
triadic
#BA406F #6FBA40 #406FBA
tetradic
#BA406F #ACBA40 #40BA8B #4E40BA
square
#BA406F #ACBA40 #40BA8B #4E40BA
split-complementary
#BA406F #40BA4E #40ACBA
monochromatic
#5F2139 #8C3054 #BA406F #CC6B90 #DC99B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA406F#FFFFFF#000000##FFFFFF
##BA406F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E70
Deuteranopia (green-blind)
#78766C
Tritanopia (blue-blind)
#C93353
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba406f;
/* rgb */ color: rgb(186, 64, 111);
/* oklch */ color: oklch(55.5% 0.162 0.1);
Tailwind
colors: {
  custom: {
    50: '#d37c98',
    500: '#ba406f',
    950: '#000000',
  },
}
SCSS
$custom: #ba406f;
$custom-light: #d37c98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba406f",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 336.885,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.16209,
    "h": 0.1
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#BA406F
secondary
#8EC8B1
accent
#D8A44F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA406F

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

Preview Lab → · Contrast checker → · Palette generator →

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