#BF31A6#BF31A6

#BF31A6 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.2% C 0.214 H 336.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BF31A6
RGBrgb(191, 49, 166)
HSLhsl(311, 59%, 47%)
HSVhsv(311, 74%, 75%)
CMYKcmyk(0%, 74.3%, 13.1%, 25.1%)
CIE-LABlab(47.01, 66.80, -31.69)
CIE-LCHlch(47.01, 73.94, 334.62°)
OKLaboklab(57.16% 0.1961 -0.0864)
OKLCHoklch(57.16% 0.214 336.2)
XYZxyz(29.4676, 16.0289, 37.6109)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31A6 #31BF4A
analogous
#9131BF #BF31A6 #BF315F
triadic
#BF31A6 #A6BF31 #31A6BF
tetradic
#BF31A6 #BF9131 #31BF4A #315FBF
square
#BF31A6 #BF9131 #31BF4A #315FBF
split-complementary
#BF31A6 #5FBF31 #31BF91
monochromatic
#5E1851 #8E257C #BF31A6 #D459BF #E18AD1

Accessibility & contrast

On white

4.99
#BF31A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BF31A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31A6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31A6#FFFFFF#000000##FFFFFF
##BF31A61.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#C93B68
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bf31a6;
/* rgb */ color: rgb(191, 49, 166);
/* oklch */ color: oklch(57.2% 0.214 336.2);
Tailwind
colors: {
  custom: {
    50: '#d677c1',
    500: '#bf31a6',
    950: '#000000',
  },
}
SCSS
$custom: #bf31a6;
$custom-light: #d677c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31a6",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 310.563,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5716,
    "c": 0.21429,
    "h": 336.2
  },
  "luminance": 0.16026
}

Semantic roles & 50–950 ramp

primary
#BF31A6
secondary
#81CB8E
accent
#E26145
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF31A6

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

Preview Lab → · Contrast checker → · Palette generator →

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