#BC27A1#BC27A1

#BC27A1 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.7% C 0.219 H 336.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BC27A1
RGBrgb(188, 39, 161)
HSLhsl(311, 66%, 45%)
HSVhsv(311, 79%, 74%)
CMYKcmyk(0%, 79.3%, 14.4%, 26.3%)
CIE-LABlab(45.25, 68.30, -31.52)
CIE-LCHlch(45.25, 75.22, 335.23°)
OKLaboklab(55.71% 0.2014 -0.0859)
OKLCHoklch(55.71% 0.219 336.9)
XYZxyz(27.8981, 14.7183, 35.0830)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC27A1 #27BC42
analogous
#8C27BC #BC27A1 #BC2757
triadic
#BC27A1 #A1BC27 #27A1BC
tetradic
#BC27A1 #BC8C27 #27BC42 #2757BC
square
#BC27A1 #BC8C27 #27BC42 #2757BC
split-complementary
#BC27A1 #57BC27 #27BC8C
monochromatic
#57124A #891C76 #BC27A1 #D947BF #E37AD0

Accessibility & contrast

On white

5.33
#BC27A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BC27A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC27A1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC27A1#FFFFFF#000000##FFFFFF
##BC27A11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA4
Deuteranopia (green-blind)
#62739E
Tritanopia (blue-blind)
#C63263
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bc27a1;
/* rgb */ color: rgb(188, 39, 161);
/* oklch */ color: oklch(55.7% 0.219 336.9);
Tailwind
colors: {
  custom: {
    50: '#d473bd',
    500: '#bc27a1',
    950: '#000000',
  },
}
SCSS
$custom: #bc27a1;
$custom-light: #d473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc27a1",
  "rgb": {
    "r": 188,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 310.872,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55713,
    "c": 0.21896,
    "h": 336.9
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#BC27A1
secondary
#73CB83
accent
#E95E3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BC27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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