#BC40A7#BC40A7

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

Color values

HEX#BC40A7
RGBrgb(188, 64, 167)
HSLhsl(310, 49%, 49%)
HSVhsv(310, 66%, 74%)
CMYKcmyk(0%, 66%, 11.2%, 26.3%)
CIE-LABlab(48.45, 60.91, -30.07)
CIE-LCHlch(48.45, 67.93, 333.73°)
OKLaboklab(58.12% 0.1775 -0.0819)
OKLCHoklch(58.12% 0.195 335.2)
XYZxyz(29.5478, 17.1506, 38.3059)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A7 #40BC55
analogous
#9340BC #BC40A7 #BC4069
triadic
#BC40A7 #A7BC40 #40A7BC
tetradic
#BC40A7 #BC9340 #40BC55 #4069BC
square
#BC40A7 #BC9340 #40BC55 #4069BC
split-complementary
#BC40A7 #69BC40 #40BC93
monochromatic
#612156 #8E307E #BC40A7 #CD6CBD #DD9AD1

Accessibility & contrast

On white

4.74
#BC40A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BC40A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40A7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A7#FFFFFF#000000##FFFFFF
##BC40A71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#C5486E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40a7;
/* rgb */ color: rgb(188, 64, 167);
/* oklch */ color: oklch(58.1% 0.195 335.2);
Tailwind
colors: {
  custom: {
    50: '#d37ec1',
    500: '#bc40a7',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a7;
$custom-light: #d37ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a7",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 310.161,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.19547,
    "h": 335.2
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC40A7

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

Preview Lab → · Contrast checker → · Palette generator →

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