#BC40A4#BC40A4

#BC40A4 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 58.0% C 0.193 H 336.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BC40A4
RGBrgb(188, 64, 164)
HSLhsl(312, 49%, 49%)
HSVhsv(312, 66%, 74%)
CMYKcmyk(0%, 66%, 12.8%, 26.3%)
CIE-LABlab(48.31, 60.46, -28.51)
CIE-LCHlch(48.31, 66.84, 334.75°)
OKLaboklab(57.98% 0.1771 -0.0775)
OKLCHoklch(57.98% 0.193 336.4)
XYZxyz(29.2737, 17.0410, 36.8622)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A4 #40BC58
analogous
#9640BC #BC40A4 #BC4066
triadic
#BC40A4 #A4BC40 #40A4BC
tetradic
#BC40A4 #BC9640 #40BC58 #4066BC
square
#BC40A4 #BC9640 #40BC58 #4066BC
split-complementary
#BC40A4 #66BC40 #40BC96
monochromatic
#612154 #8E307C #BC40A4 #CD6CBA #DD9AD0

Accessibility & contrast

On white

4.76
#BC40A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BC40A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40A4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A4#FFFFFF#000000##FFFFFF
##BC40A41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#C5476C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40a4;
/* rgb */ color: rgb(188, 64, 164);
/* oklch */ color: oklch(58.0% 0.193 336.4);
Tailwind
colors: {
  custom: {
    50: '#d37ebf',
    500: '#bc40a4',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a4;
$custom-light: #d37ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a4",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 311.613,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.19328,
    "h": 336.4
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#BC40A4
secondary
#8FC99A
accent
#D96A4F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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