#BF31A0#BF31A0

#BF31A0 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.210 H 338.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BF31A0
RGBrgb(191, 49, 160)
HSLhsl(313, 59%, 47%)
HSVhsv(313, 74%, 75%)
CMYKcmyk(0%, 74.3%, 16.2%, 25.1%)
CIE-LABlab(46.73, 65.95, -28.56)
CIE-LCHlch(46.73, 71.87, 336.58°)
OKLaboklab(56.86% 0.1955 -0.0775)
OKLCHoklch(56.86% 0.21 338.4)
XYZxyz(28.9300, 15.8138, 34.7797)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31A0 #31BF50
analogous
#9731BF #BF31A0 #BF3159
triadic
#BF31A0 #A0BF31 #31A0BF
tetradic
#BF31A0 #BF9731 #31BF50 #3159BF
square
#BF31A0 #BF9731 #31BF50 #3159BF
split-complementary
#BF31A0 #59BF31 #31BF97
monochromatic
#5E184E #8E2577 #BF31A0 #D459B9 #E18ACE

Accessibility & contrast

On white

5.05
#BF31A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BF31A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31A0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31A0#FFFFFF#000000##FFFFFF
##BF31A01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A3
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#CA3865
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bf31a0;
/* rgb */ color: rgb(191, 49, 160);
/* oklch */ color: oklch(56.9% 0.210 338.4);
Tailwind
colors: {
  custom: {
    50: '#d677bc',
    500: '#bf31a0',
    950: '#000000',
  },
}
SCSS
$custom: #bf31a0;
$custom-light: #d677bc;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31a0",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 313.099,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.21026,
    "h": 338.4
  },
  "luminance": 0.15811
}

Semantic roles & 50–950 ramp

primary
#BF31A0
secondary
#81CB91
accent
#E26845
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF31A0

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

Preview Lab → · Contrast checker → · Palette generator →

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