#BF51A4#BF51A4

#BF51A4 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.171 H 338.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BF51A4
RGBrgb(191, 81, 164)
HSLhsl(315, 46%, 53%)
HSVhsv(315, 58%, 75%)
CMYKcmyk(0%, 57.6%, 14.1%, 25.1%)
CIE-LABlab(51.43, 54.00, -23.64)
CIE-LCHlch(51.43, 58.94, 336.36°)
OKLaboklab(60.35% 0.1586 -0.0638)
OKLCHoklch(60.35% 0.171 338.1)
XYZxyz(31.1295, 19.6440, 37.2669)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51A4 #51BF6C
analogous
#A351BF #BF51A4 #BF516D
triadic
#BF51A4 #A4BF51 #51A4BF
tetradic
#BF51A4 #BFA351 #51BF6C #516DBF
square
#BF51A4 #BFA351 #51BF6C #516DBF
split-complementary
#BF51A4 #6DBF51 #51BFA3
monochromatic
#6D285C #9A3982 #BF51A4 #CF7EBB #E0AAD3

Accessibility & contrast

On white

4.26
#BF51A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BF51A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51A4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51A4#FFFFFF#000000##000000
##BF51A41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A7
Deuteranopia (green-blind)
#7581A1
Tritanopia (blue-blind)
#C95573
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf51a4;
/* rgb */ color: rgb(191, 81, 164);
/* oklch */ color: oklch(60.4% 0.171 338.1);
Tailwind
colors: {
  custom: {
    50: '#d587bf',
    500: '#bf51a4',
    950: '#000000',
  },
}
SCSS
$custom: #bf51a4;
$custom-light: #d587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51a4",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 314.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.17098,
    "h": 338.1
  },
  "luminance": 0.19642
}

Semantic roles & 50–950 ramp

primary
#BF51A4
secondary
#9ECEAA
accent
#D67252
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #BF51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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