#BC31A2#BC31A2

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

Color values

HEX#BC31A2
RGBrgb(188, 49, 162)
HSLhsl(311, 59%, 46%)
HSVhsv(311, 74%, 74%)
CMYKcmyk(0%, 73.9%, 13.8%, 26.3%)
CIE-LABlab(46.31, 65.53, -30.45)
CIE-LCHlch(46.31, 72.26, 335.08°)
OKLaboklab(56.5% 0.1928 -0.0829)
OKLCHoklch(56.5% 0.21 336.7)
XYZxyz(28.3594, 15.4992, 35.6735)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC31A2 #31BC4B
analogous
#9131BC #BC31A2 #BC315D
triadic
#BC31A2 #A2BC31 #31A2BC
tetradic
#BC31A2 #BC9131 #31BC4B #315DBC
square
#BC31A2 #BC9131 #31BC4B #315DBC
split-complementary
#BC31A2 #5DBC31 #31BC91
monochromatic
#5B184E #8B2478 #BC31A2 #D357BC #E088CF

Accessibility & contrast

On white

5.12
#BC31A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BC31A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC31A2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC31A2#FFFFFF#000000##FFFFFF
##BC31A21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#65759F
Tritanopia (blue-blind)
#C63A66
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bc31a2;
/* rgb */ color: rgb(188, 49, 162);
/* oklch */ color: oklch(56.5% 0.210 336.7);
Tailwind
colors: {
  custom: {
    50: '#d477be',
    500: '#bc31a2',
    950: '#000000',
  },
}
SCSS
$custom: #bc31a2;
$custom-light: #d477be;
$custom-dark: #000000;
JSON
{
  "hex": "#bc31a2",
  "rgb": {
    "r": 188,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 311.223,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.20987,
    "h": 336.7
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#BC31A2
secondary
#7FCA8D
accent
#E26346
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BC31A2

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

Preview Lab → · Contrast checker → · Palette generator →

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