#BF54A7#BF54A7

#BF54A7 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.169 H 337.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BF54A7
RGBrgb(191, 84, 167)
HSLhsl(313, 46%, 54%)
HSVhsv(313, 56%, 75%)
CMYKcmyk(0%, 56%, 12.6%, 25.1%)
CIE-LABlab(52.07, 53.08, -24.41)
CIE-LCHlch(52.07, 58.42, 335.30°)
OKLaboklab(60.87% 0.1551 -0.066)
OKLCHoklch(60.87% 0.169 337)
XYZxyz(31.6315, 20.2094, 38.7865)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF54A7 #54BF6C
analogous
#A254BF #BF54A7 #BF5472
triadic
#BF54A7 #A7BF54 #54A7BF
tetradic
#BF54A7 #BFA254 #54BF6C #5472BF
square
#BF54A7 #BFA254 #54BF6C #5472BF
split-complementary
#BF54A7 #72BF54 #54BFA2
monochromatic
#6F2A5F #9C3A86 #BF54A7 #D081BE #E0ADD5

Accessibility & contrast

On white

4.17
#BF54A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BF54A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF54A7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF54A7#FFFFFF#000000##000000
##BF54A71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#C85876
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bf54a7;
/* rgb */ color: rgb(191, 84, 167);
/* oklch */ color: oklch(60.9% 0.169 337.0);
Tailwind
colors: {
  custom: {
    50: '#d589c1',
    500: '#bf54a7',
    950: '#000000',
  },
}
SCSS
$custom: #bf54a7;
$custom-light: #d589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf54a7",
  "rgb": {
    "r": 191,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 313.458,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.16857,
    "h": 337
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#BF54A7
secondary
#A1CEAB
accent
#D57053
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #BF54A7

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

Preview Lab → · Contrast checker → · Palette generator →

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