#BC2F9B#BC2F9B

#BC2F9B is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.207 H 339.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BC2F9B
RGBrgb(188, 47, 155)
HSLhsl(314, 60%, 46%)
HSVhsv(314, 75%, 74%)
CMYKcmyk(0%, 75%, 17.6%, 26.3%)
CIE-LABlab(45.76, 65.17, -27.12)
CIE-LCHlch(45.76, 70.59, 337.41°)
OKLaboklab(55.99% 0.1939 -0.0734)
OKLCHoklch(55.99% 0.207 339.3)
XYZxyz(27.6727, 15.0937, 32.4600)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC2F9B #2FBC50
analogous
#962FBC #BC2F9B #BC2F54
triadic
#BC2F9B #9BBC2F #2F9BBC
tetradic
#BC2F9B #BC962F #2FBC50 #2F54BC
square
#BC2F9B #BC962F #2FBC50 #2F54BC
split-complementary
#BC2F9B #54BC2F #2FBC96
monochromatic
#5A174A #8B2373 #BC2F9B #D454B6 #E085CB

Accessibility & contrast

On white

5.23
#BC2F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BC2F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC2F9B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC2F9B#FFFFFF#000000##FFFFFF
##BC2F9B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#677498
Tritanopia (blue-blind)
#C73562
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bc2f9b;
/* rgb */ color: rgb(188, 47, 155);
/* oklch */ color: oklch(56.0% 0.207 339.3);
Tailwind
colors: {
  custom: {
    50: '#d476b8',
    500: '#bc2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #bc2f9b;
$custom-light: #d476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bc2f9b",
  "rgb": {
    "r": 188,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 314.043,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.20732,
    "h": 339.3
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#BC2F9B
secondary
#7DCA8F
accent
#E36A45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BC2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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