#BC2F9D#BC2F9D

#BC2F9D is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.209 H 338.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BC2F9D
RGBrgb(188, 47, 157)
HSLhsl(313, 60%, 46%)
HSVhsv(313, 75%, 74%)
CMYKcmyk(0%, 75%, 16.5%, 26.3%)
CIE-LABlab(45.85, 65.45, -28.17)
CIE-LCHlch(45.85, 71.26, 336.71°)
OKLaboklab(56.09% 0.1941 -0.0764)
OKLCHoklch(56.09% 0.209 338.5)
XYZxyz(27.8420, 15.1614, 33.3519)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2F9D #2FBC4E
analogous
#942FBC #BC2F9D #BC2F57
triadic
#BC2F9D #9DBC2F #2F9DBC
tetradic
#BC2F9D #BC942F #2FBC4E #2F57BC
square
#BC2F9D #BC942F #2FBC4E #2F57BC
split-complementary
#BC2F9D #57BC2F #2FBC94
monochromatic
#5A174B #8B2374 #BC2F9D #D454B8 #E085CC

Accessibility & contrast

On white

5.21
#BC2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BC2F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2F9D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2F9D#FFFFFF#000000##FFFFFF
##BC2F9D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA0
Deuteranopia (green-blind)
#66749A
Tritanopia (blue-blind)
#C73663
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc2f9d;
/* rgb */ color: rgb(188, 47, 157);
/* oklch */ color: oklch(56.1% 0.209 338.5);
Tailwind
colors: {
  custom: {
    50: '#d476ba',
    500: '#bc2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #bc2f9d;
$custom-light: #d476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2f9d",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 313.191,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56089,
    "c": 0.20863,
    "h": 338.5
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#BC2F9D
secondary
#7DCA8E
accent
#E36745
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BC2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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