#BC31A0#BC31A0

#BC31A0 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.209 H 337.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BC31A0
RGBrgb(188, 49, 160)
HSLhsl(312, 59%, 46%)
HSVhsv(312, 74%, 74%)
CMYKcmyk(0%, 73.9%, 14.9%, 26.3%)
CIE-LABlab(46.22, 65.24, -29.40)
CIE-LCHlch(46.22, 71.56, 335.74°)
OKLaboklab(56.4% 0.1926 -0.0799)
OKLCHoklch(56.4% 0.209 337.5)
XYZxyz(28.1831, 15.4287, 34.7446)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A0 #31BC4D
analogous
#9331BC #BC31A0 #BC315B
triadic
#BC31A0 #A0BC31 #31A0BC
tetradic
#BC31A0 #BC9331 #31BC4D #315BBC
square
#BC31A0 #BC9331 #31BC4D #315BBC
split-complementary
#BC31A0 #5BBC31 #31BC93
monochromatic
#5B184D #8B2477 #BC31A0 #D357BA #E088CE

Accessibility & contrast

On white

5.14
#BC31A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BC31A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A0#FFFFFF#000000##FFFFFF
##BC31A01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#C63965
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc31a0;
/* rgb */ color: rgb(188, 49, 160);
/* oklch */ color: oklch(56.4% 0.209 337.5);
Tailwind
colors: {
  custom: {
    50: '#d477bc',
    500: '#bc31a0',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a0;
$custom-light: #d477bc;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a0",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 312.086,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.20851,
    "h": 337.5
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#BC31A0
secondary
#7FCA8E
accent
#E26546
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A0

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

Preview Lab → · Contrast checker → · Palette generator →

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