#BC40A6#BC40A6

#BC40A6 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.195 H 335.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BC40A6
RGBrgb(188, 64, 166)
HSLhsl(311, 49%, 49%)
HSVhsv(311, 66%, 74%)
CMYKcmyk(0%, 66%, 11.7%, 26.3%)
CIE-LABlab(48.40, 60.76, -29.55)
CIE-LCHlch(48.40, 67.57, 334.06°)
OKLaboklab(58.07% 0.1773 -0.0804)
OKLCHoklch(58.07% 0.195 335.6)
XYZxyz(29.4557, 17.1138, 37.8209)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A6 #40BC56
analogous
#9440BC #BC40A6 #BC4068
triadic
#BC40A6 #A6BC40 #40A6BC
tetradic
#BC40A6 #BC9440 #40BC56 #4068BC
square
#BC40A6 #BC9440 #40BC56 #4068BC
split-complementary
#BC40A6 #68BC40 #40BC94
monochromatic
#612155 #8E307E #BC40A6 #CD6CBC #DD9AD1

Accessibility & contrast

On white

4.75
#BC40A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BC40A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40A6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A6#FFFFFF#000000##FFFFFF
##BC40A61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#697AA3
Tritanopia (blue-blind)
#C5486D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40a6;
/* rgb */ color: rgb(188, 64, 166);
/* oklch */ color: oklch(58.1% 0.195 335.6);
Tailwind
colors: {
  custom: {
    50: '#d37ec0',
    500: '#bc40a6',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a6;
$custom-light: #d37ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a6",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 166
  },
  "hsl": {
    "h": 310.645,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.19473,
    "h": 335.6
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#BC40A6
secondary
#8FC999
accent
#D9674F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40A6

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

Preview Lab → · Contrast checker → · Palette generator →

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