#BC217F#BC217F

#BC217F is a mid, highly saturated pink. Relative luminance 0.133; OKLCH L 53.8% C 0.204 H 349.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BC217F
RGBrgb(188, 33, 127)
HSLhsl(324, 70%, 43%)
HSVhsv(324, 82%, 74%)
CMYKcmyk(0%, 82.4%, 32.4%, 26.3%)
CIE-LABlab(43.23, 65.53, -14.01)
CIE-LCHlch(43.23, 67.02, 347.93°)
OKLaboklab(53.77% 0.2009 -0.0366)
OKLCHoklch(53.77% 0.204 349.7)
XYZxyz(25.1151, 13.3144, 21.3219)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC217F #21BC5E
analogous
#AB21BC #BC217F #BC2131
triadic
#BC217F #7FBC21 #217FBC
tetradic
#BC217F #BCAB21 #21BC5E #2131BC
square
#BC217F #BCAB21 #21BC5E #2131BC
split-complementary
#BC217F #31BC21 #21BCAB
monochromatic
#540F39 #88185C #BC217F #DD3D9E #E671B8

Accessibility & contrast

On white

5.73
#BC217F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#BC217F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC217F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC217F#FFFFFF#000000##FFFFFF
##BC217F1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#CA124F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bc217f;
/* rgb */ color: rgb(188, 33, 127);
/* oklch */ color: oklch(53.8% 0.204 349.7);
Tailwind
colors: {
  custom: {
    50: '#d570a4',
    500: '#bc217f',
    950: '#000000',
  },
}
SCSS
$custom: #bc217f;
$custom-light: #d570a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc217f",
  "rgb": {
    "r": 188,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 323.613,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.20419,
    "h": 349.7
  },
  "luminance": 0.13311
}

Semantic roles & 50–950 ramp

primary
#BC217F
secondary
#6CCD92
accent
#ED813B
background
#FDF7FA
surface
#FBEDF4
border
#D4C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BC217F

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

Preview Lab → · Contrast checker → · Palette generator →

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