#BC31A1#BC31A1

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

Color values

HEX#BC31A1
RGBrgb(188, 49, 161)
HSLhsl(312, 59%, 46%)
HSVhsv(312, 74%, 74%)
CMYKcmyk(0%, 73.9%, 14.4%, 26.3%)
CIE-LABlab(46.26, 65.39, -29.92)
CIE-LCHlch(46.26, 71.91, 335.41°)
OKLaboklab(56.45% 0.1927 -0.0814)
OKLCHoklch(56.45% 0.209 337.1)
XYZxyz(28.2709, 15.4638, 35.2072)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A1 #31BC4C
analogous
#9231BC #BC31A1 #BC315B
triadic
#BC31A1 #A1BC31 #31A1BC
tetradic
#BC31A1 #BC9231 #31BC4C #315BBC
square
#BC31A1 #BC9231 #31BC4C #315BBC
split-complementary
#BC31A1 #5BBC31 #31BC92
monochromatic
#5B184E #8B2477 #BC31A1 #D357BB #E088CF

Accessibility & contrast

On white

5.13
#BC31A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BC31A1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A1#FFFFFF#000000##FFFFFF
##BC31A11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#65759E
Tritanopia (blue-blind)
#C63A66
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a1;
/* rgb */ color: rgb(188, 49, 161);
/* oklch */ color: oklch(56.4% 0.209 337.1);
Tailwind
colors: {
  custom: {
    50: '#d477bd',
    500: '#bc31a1',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a1;
$custom-light: #d477bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a1",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 311.655,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.20918,
    "h": 337.1
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BC31A1

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

Preview Lab → · Contrast checker → · Palette generator →

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