#BC40A2#BC40A2

#BC40A2 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.192 H 337.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BC40A2
RGBrgb(188, 64, 162)
HSLhsl(313, 49%, 49%)
HSVhsv(313, 66%, 74%)
CMYKcmyk(0%, 66%, 13.8%, 26.3%)
CIE-LABlab(48.22, 60.16, -27.47)
CIE-LCHlch(48.22, 66.13, 335.46°)
OKLaboklab(57.88% 0.1768 -0.0745)
OKLCHoklch(57.88% 0.192 337.1)
XYZxyz(29.0945, 16.9693, 35.9185)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A2 #40BC5A
analogous
#9840BC #BC40A2 #BC4064
triadic
#BC40A2 #A2BC40 #40A2BC
tetradic
#BC40A2 #BC9840 #40BC5A #4064BC
square
#BC40A2 #BC9840 #40BC5A #4064BC
split-complementary
#BC40A2 #64BC40 #40BC98
monochromatic
#612153 #8E307B #BC40A2 #CD6CB9 #DD9ACF

Accessibility & contrast

On white

4.78
#BC40A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC40A2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC40A2#FFFFFF#000000##FFFFFF
##BC40A21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#6B799F
Tritanopia (blue-blind)
#C6466B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bc40a2;
/* rgb */ color: rgb(188, 64, 162);
/* oklch */ color: oklch(57.9% 0.192 337.1);
Tailwind
colors: {
  custom: {
    50: '#d47ebe',
    500: '#bc40a2',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a2;
$custom-light: #d47ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a2",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 312.581,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.19185,
    "h": 337.1
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#BC40A2
secondary
#8FC99B
accent
#D96C4F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC40A2

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

Preview Lab → · Contrast checker → · Palette generator →

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