#BC2F7F#BC2F7F

#BC2F7F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.191 H 350.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BC2F7F
RGBrgb(188, 47, 127)
HSLhsl(326, 60%, 46%)
HSVhsv(326, 75%, 74%)
CMYKcmyk(0%, 75%, 32.4%, 26.3%)
CIE-LABlab(44.60, 61.63, -11.94)
CIE-LCHlch(44.60, 62.78, 349.04°)
OKLaboklab(54.77% 0.1886 -0.031)
OKLCHoklch(54.77% 0.191 350.6)
XYZxyz(25.5878, 14.2597, 21.4795)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2F7F #2FBC6C
analogous
#B22FBC #BC2F7F #BC2F39
triadic
#BC2F7F #7FBC2F #2F7FBC
tetradic
#BC2F7F #BCB22F #2FBC6C #2F39BC
square
#BC2F7F #BCB22F #2FBC6C #2F39BC
split-complementary
#BC2F7F #39BC2F #2FBCB2
monochromatic
#5A173D #8B235E #BC2F7F #D4549D #E085B9

Accessibility & contrast

On white

5.45
#BC2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#BC2F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2F7F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2F7F#FFFFFF#000000##FFFFFF
##BC2F7F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#CA2553
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bc2f7f;
/* rgb */ color: rgb(188, 47, 127);
/* oklch */ color: oklch(54.8% 0.191 350.6);
Tailwind
colors: {
  custom: {
    50: '#d575a4',
    500: '#bc2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #bc2f7f;
$custom-light: #d575a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2f7f",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 325.957,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.1911,
    "h": 350.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#BC2F7F
secondary
#7DCA9E
accent
#E38945
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BC2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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