#BC2F7B#BC2F7B

#BC2F7B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.189 H 352.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BC2F7B
RGBrgb(188, 47, 123)
HSLhsl(328, 60%, 46%)
HSVhsv(328, 75%, 74%)
CMYKcmyk(0%, 75%, 34.6%, 26.3%)
CIE-LABlab(44.46, 61.18, -9.70)
CIE-LCHlch(44.46, 61.94, 350.99°)
OKLaboklab(54.62% 0.1875 -0.025)
OKLCHoklch(54.62% 0.189 352.4)
XYZxyz(25.3322, 14.1575, 20.1337)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2F7B #2FBC70
analogous
#B62FBC #BC2F7B #BC2F34
triadic
#BC2F7B #7BBC2F #2F7BBC
tetradic
#BC2F7B #BCB62F #2FBC70 #2F34BC
square
#BC2F7B #BCB62F #2FBC70 #2F34BC
split-complementary
#BC2F7B #34BC2F #2FBCB6
monochromatic
#5A173B #8B235B #BC2F7B #D45499 #E085B6

Accessibility & contrast

On white

5.48
#BC2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BC2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2F7B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2F7B#FFFFFF#000000##FFFFFF
##BC2F7B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#717278
Tritanopia (blue-blind)
#CA2251
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bc2f7b;
/* rgb */ color: rgb(188, 47, 123);
/* oklch */ color: oklch(54.6% 0.189 352.4);
Tailwind
colors: {
  custom: {
    50: '#d575a1',
    500: '#bc2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #bc2f7b;
$custom-light: #d575a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2f7b",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 327.66,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.18918,
    "h": 352.4
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#BC2F7B
secondary
#7DCAA0
accent
#E38E45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BC2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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