#BC31A4#BC31A4

#BC31A4 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.211 H 336.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BC31A4
RGBrgb(188, 49, 164)
HSLhsl(310, 59%, 46%)
HSVhsv(310, 74%, 74%)
CMYKcmyk(0%, 73.9%, 12.8%, 26.3%)
CIE-LABlab(46.41, 65.82, -31.48)
CIE-LCHlch(46.41, 72.96, 334.44°)
OKLaboklab(56.6% 0.193 -0.0859)
OKLCHoklch(56.6% 0.211 336)
XYZxyz(28.5386, 15.5709, 36.6172)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A4 #31BC49
analogous
#8F31BC #BC31A4 #BC315F
triadic
#BC31A4 #A4BC31 #31A4BC
tetradic
#BC31A4 #BC8F31 #31BC49 #315FBC
square
#BC31A4 #BC8F31 #31BC49 #315FBC
split-complementary
#BC31A4 #5FBC31 #31BC8F
monochromatic
#5B184F #8B247A #BC31A4 #D357BE #E088D1

Accessibility & contrast

On white

5.11
#BC31A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BC31A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A4#FFFFFF#000000##FFFFFF
##BC31A41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#6475A1
Tritanopia (blue-blind)
#C63B67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a4;
/* rgb */ color: rgb(188, 49, 164);
/* oklch */ color: oklch(56.6% 0.211 336.0);
Tailwind
colors: {
  custom: {
    50: '#d477bf',
    500: '#bc31a4',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a4;
$custom-light: #d477bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a4",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 310.36,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56595,
    "c": 0.21124,
    "h": 336
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#BC31A4
secondary
#7FCA8C
accent
#E26146
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A4

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

Preview Lab → · Contrast checker → · Palette generator →

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