#BC40A1#BC40A1

#BC40A1 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.191 H 337.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BC40A1
RGBrgb(188, 64, 161)
HSLhsl(313, 49%, 49%)
HSVhsv(313, 66%, 74%)
CMYKcmyk(0%, 66%, 14.4%, 26.3%)
CIE-LABlab(48.18, 60.01, -26.94)
CIE-LCHlch(48.18, 65.78, 335.82°)
OKLaboklab(57.83% 0.1766 -0.073)
OKLCHoklch(57.83% 0.191 337.5)
XYZxyz(29.0059, 16.9339, 35.4522)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A1 #40BC5B
analogous
#9940BC #BC40A1 #BC4063
triadic
#BC40A1 #A1BC40 #40A1BC
tetradic
#BC40A1 #BC9940 #40BC5B #4063BC
square
#BC40A1 #BC9940 #40BC5B #4063BC
split-complementary
#BC40A1 #63BC40 #40BC99
monochromatic
#612153 #8E307A #BC40A1 #CD6CB8 #DD9ACE

Accessibility & contrast

On white

4.79
#BC40A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BC40A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC40A1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A1#FFFFFF#000000##FFFFFF
##BC40A11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#6B799E
Tritanopia (blue-blind)
#C6466B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc40a1;
/* rgb */ color: rgb(188, 64, 161);
/* oklch */ color: oklch(57.8% 0.191 337.5);
Tailwind
colors: {
  custom: {
    50: '#d47ebd',
    500: '#bc40a1',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a1;
$custom-light: #d47ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a1",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 313.065,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57833,
    "c": 0.19114,
    "h": 337.5
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#BC40A1
secondary
#8FC99C
accent
#D96D4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40A1

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

Preview Lab → · Contrast checker → · Palette generator →

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