#BC31A3#BC31A3

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

Color values

HEX#BC31A3
RGBrgb(188, 49, 163)
HSLhsl(311, 59%, 46%)
HSVhsv(311, 74%, 74%)
CMYKcmyk(0%, 73.9%, 13.3%, 26.3%)
CIE-LABlab(46.36, 65.67, -30.97)
CIE-LCHlch(46.36, 72.61, 334.76°)
OKLaboklab(56.55% 0.1929 -0.0844)
OKLCHoklch(56.55% 0.211 336.4)
XYZxyz(28.4487, 15.5349, 36.1435)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A3 #31BC4A
analogous
#9031BC #BC31A3 #BC315E
triadic
#BC31A3 #A3BC31 #31A3BC
tetradic
#BC31A3 #BC9031 #31BC4A #315EBC
square
#BC31A3 #BC9031 #31BC4A #315EBC
split-complementary
#BC31A3 #5EBC31 #31BC90
monochromatic
#5B184F #8B2479 #BC31A3 #D357BD #E088D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BC31A3#FFFFFF#000000##FFFFFF
##BC31A31.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)
#3460A6
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#C63B67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a3;
/* rgb */ color: rgb(188, 49, 163);
/* oklch */ color: oklch(56.5% 0.211 336.4);
Tailwind
colors: {
  custom: {
    50: '#d477be',
    500: '#bc31a3',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a3;
$custom-light: #d477be;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a3",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 310.791,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.21054,
    "h": 336.4
  },
  "luminance": 0.15532
}

Semantic roles & 50–950 ramp

primary
#BC31A3
secondary
#7FCA8D
accent
#E26246
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A3

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

Preview Lab → · Contrast checker → · Palette generator →

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