#BC42A7#BC42A7

#BC42A7 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.193 H 335.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BC42A7
RGBrgb(188, 66, 167)
HSLhsl(310, 48%, 50%)
HSVhsv(310, 65%, 74%)
CMYKcmyk(0%, 64.9%, 11.2%, 26.3%)
CIE-LABlab(48.74, 60.12, -29.62)
CIE-LCHlch(48.74, 67.02, 333.77°)
OKLaboklab(58.33% 0.1751 -0.0807)
OKLCHoklch(58.33% 0.193 335.3)
XYZxyz(29.6626, 17.3803, 38.3442)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC42A7 #42BC57
analogous
#9442BC #BC42A7 #BC426A
triadic
#BC42A7 #A7BC42 #42A7BC
tetradic
#BC42A7 #BC9442 #42BC57 #426ABC
square
#BC42A7 #BC9442 #42BC57 #426ABC
split-complementary
#BC42A7 #6ABC42 #42BC94
monochromatic
#612257 #8F327F #BC42A7 #CC6FBC #DC9CD1

Accessibility & contrast

On white

4.69
#BC42A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BC42A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC42A7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC42A7#FFFFFF#000000##FFFFFF
##BC42A71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#C54A6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bc42a7;
/* rgb */ color: rgb(188, 66, 167);
/* oklch */ color: oklch(58.3% 0.193 335.3);
Tailwind
colors: {
  custom: {
    50: '#d37fc1',
    500: '#bc42a7',
    950: '#000000',
  },
}
SCSS
$custom: #bc42a7;
$custom-light: #d37fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc42a7",
  "rgb": {
    "r": 188,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 310.328,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.19282,
    "h": 335.3
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#BC42A7
secondary
#91C99B
accent
#D86750
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BC42A7

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

Preview Lab → · Contrast checker → · Palette generator →

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