#BF51AC#BF51AC

#BF51AC is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.177 H 334.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BF51AC
RGBrgb(191, 81, 172)
HSLhsl(310, 46%, 53%)
HSVhsv(310, 58%, 75%)
CMYKcmyk(0%, 57.6%, 9.9%, 25.1%)
CIE-LABlab(51.77, 55.26, -27.80)
CIE-LCHlch(51.77, 61.86, 333.29°)
OKLaboklab(60.72% 0.1601 -0.0756)
OKLCHoklch(60.72% 0.177 334.7)
XYZxyz(31.8748, 19.9422, 41.1921)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51AC #51BF64
analogous
#9B51BF #BF51AC #BF5175
triadic
#BF51AC #ACBF51 #51ACBF
tetradic
#BF51AC #BF9B51 #51BF64 #5175BF
square
#BF51AC #BF9B51 #51BF64 #5175BF
split-complementary
#BF51AC #75BF51 #51BF9B
monochromatic
#6D2861 #9A3989 #BF51AC #CF7EC1 #E0AAD7

Accessibility & contrast

On white

4.21
#BF51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BF51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51AC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51AC#FFFFFF#000000##000000
##BF51AC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#C75877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf51ac;
/* rgb */ color: rgb(191, 81, 172);
/* oklch */ color: oklch(60.7% 0.177 334.7);
Tailwind
colors: {
  custom: {
    50: '#d588c5',
    500: '#bf51ac',
    950: '#000000',
  },
}
SCSS
$custom: #bf51ac;
$custom-light: #d588c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51ac",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 310.364,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60715,
    "c": 0.17706,
    "h": 334.7
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#BF51AC
secondary
#9ECEA6
accent
#D66952
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #BF51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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