#BA4060#BA4060

#BA4060 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.1% C 0.158 H 8.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA4060
RGBrgb(186, 64, 96)
HSLhsl(344, 49%, 49%)
HSVhsv(344, 66%, 73%)
CMYKcmyk(0%, 65.6%, 48.4%, 27.1%)
CIE-LABlab(45.57, 51.50, 8.50)
CIE-LCHlch(45.57, 52.20, 9.37°)
OKLaboklab(55.11% 0.1567 0.0221)
OKLCHoklch(55.11% 0.158 8)
XYZxyz(24.1963, 14.9535, 12.6762)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4060 #40BA9A
analogous
#BA409D #BA4060 #BA5D40
triadic
#BA4060 #60BA40 #4060BA
tetradic
#BA4060 #9DBA40 #40BA9A #5D40BA
square
#BA4060 #9DBA40 #40BA9A #5D40BA
split-complementary
#BA4060 #40BA5D #409DBA
monochromatic
#5F2131 #8C3049 #BA4060 #CC6B85 #DC99AA

Accessibility & contrast

On white

5.26
#BA4060 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA4060 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4060
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4060#FFFFFF#000000##FFFFFF
##BA40601.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C61
Deuteranopia (green-blind)
#7B755D
Tritanopia (blue-blind)
#CA2D4D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba4060;
/* rgb */ color: rgb(186, 64, 96);
/* oklch */ color: oklch(55.1% 0.158 8.0);
Tailwind
colors: {
  custom: {
    50: '#d47c8c',
    500: '#ba4060',
    950: '#000000',
  },
}
SCSS
$custom: #ba4060;
$custom-light: #d47c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4060",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 344.262,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.1582,
    "h": 8
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#BA4060
secondary
#8EC8B9
accent
#D8B44F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D

Preview Lab

Preview with #BA4060

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

Preview Lab → · Contrast checker → · Palette generator →

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