#BF51AB#BF51AB

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

Color values

HEX#BF51AB
RGBrgb(191, 81, 171)
HSLhsl(311, 46%, 53%)
HSVhsv(311, 58%, 75%)
CMYKcmyk(0%, 57.6%, 10.5%, 25.1%)
CIE-LABlab(51.73, 55.10, -27.28)
CIE-LCHlch(51.73, 61.49, 333.66°)
OKLaboklab(60.67% 0.16 -0.0741)
OKLCHoklch(60.67% 0.176 335.1)
XYZxyz(31.7792, 19.9039, 40.6882)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51AB #51BF65
analogous
#9C51BF #BF51AB #BF5174
triadic
#BF51AB #ABBF51 #51ABBF
tetradic
#BF51AB #BF9C51 #51BF65 #5174BF
square
#BF51AB #BF9C51 #51BF65 #5174BF
split-complementary
#BF51AB #74BF51 #51BF9C
monochromatic
#6D2861 #9A3988 #BF51AB #CF7EC1 #E0AAD6

Accessibility & contrast

On white

4.22
#BF51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#BF51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51AB#FFFFFF#000000##000000
##BF51AB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#7281A8
Tritanopia (blue-blind)
#C85777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf51ab;
/* rgb */ color: rgb(191, 81, 171);
/* oklch */ color: oklch(60.7% 0.176 335.1);
Tailwind
colors: {
  custom: {
    50: '#d587c4',
    500: '#bf51ab',
    950: '#000000',
  },
}
SCSS
$custom: #bf51ab;
$custom-light: #d587c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51ab",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 310.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.17629,
    "h": 335.1
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#BF51AB
secondary
#9ECEA7
accent
#D66A52
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #BF51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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