#BF51A3#BF51A3

#BF51A3 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.170 H 338.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BF51A3
RGBrgb(191, 81, 163)
HSLhsl(315, 46%, 53%)
HSVhsv(315, 58%, 75%)
CMYKcmyk(0%, 57.6%, 14.7%, 25.1%)
CIE-LABlab(51.39, 53.84, -23.11)
CIE-LCHlch(51.39, 58.59, 336.77°)
OKLaboklab(60.31% 0.1584 -0.0623)
OKLCHoklch(60.31% 0.17 338.5)
XYZxyz(31.0396, 19.6081, 36.7932)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51A3 #51BF6D
analogous
#A451BF #BF51A3 #BF516C
triadic
#BF51A3 #A3BF51 #51A3BF
tetradic
#BF51A3 #BFA451 #51BF6D #516CBF
square
#BF51A3 #BFA451 #51BF6D #516CBF
split-complementary
#BF51A3 #6CBF51 #51BFA4
monochromatic
#6D285C #9A3981 #BF51A3 #CF7EBB #E0AAD2

Accessibility & contrast

On white

4.27
#BF51A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BF51A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51A3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51A3#FFFFFF#000000##000000
##BF51A31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A6
Deuteranopia (green-blind)
#7581A0
Tritanopia (blue-blind)
#C95573
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf51a3;
/* rgb */ color: rgb(191, 81, 163);
/* oklch */ color: oklch(60.3% 0.170 338.5);
Tailwind
colors: {
  custom: {
    50: '#d587be',
    500: '#bf51a3',
    950: '#000000',
  },
}
SCSS
$custom: #bf51a3;
$custom-light: #d587be;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51a3",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 315.273,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.17024,
    "h": 338.5
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF51A3

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

Preview Lab → · Contrast checker → · Palette generator →

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