#BC40A5#BC40A5

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

Color values

HEX#BC40A5
RGBrgb(188, 64, 165)
HSLhsl(311, 49%, 49%)
HSVhsv(311, 66%, 74%)
CMYKcmyk(0%, 66%, 12.2%, 26.3%)
CIE-LABlab(48.36, 60.61, -29.03)
CIE-LCHlch(48.36, 67.20, 334.41°)
OKLaboklab(58.02% 0.1772 -0.079)
OKLCHoklch(58.02% 0.194 336)
XYZxyz(29.3643, 17.0773, 37.3397)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC40A5 #40BC57
analogous
#9540BC #BC40A5 #BC4067
triadic
#BC40A5 #A5BC40 #40A5BC
tetradic
#BC40A5 #BC9540 #40BC57 #4067BC
square
#BC40A5 #BC9540 #40BC57 #4067BC
split-complementary
#BC40A5 #67BC40 #40BC95
monochromatic
#612155 #8E307D #BC40A5 #CD6CBB #DD9AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC40A5#FFFFFF#000000##FFFFFF
##BC40A51.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#C5476D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bc40a5;
/* rgb */ color: rgb(188, 64, 165);
/* oklch */ color: oklch(58.0% 0.194 336.0);
Tailwind
colors: {
  custom: {
    50: '#d37ec0',
    500: '#bc40a5',
    950: '#000000',
  },
}
SCSS
$custom: #bc40a5;
$custom-light: #d37ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#bc40a5",
  "rgb": {
    "r": 188,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 311.129,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.19401,
    "h": 336
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC40A5

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

Preview Lab → · Contrast checker → · Palette generator →

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