#BF52A7#BF52A7

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

Color values

HEX#BF52A7
RGBrgb(191, 82, 167)
HSLhsl(313, 46%, 54%)
HSVhsv(313, 57%, 75%)
CMYKcmyk(0%, 57.1%, 12.6%, 25.1%)
CIE-LABlab(51.73, 54.01, -24.94)
CIE-LCHlch(51.73, 59.49, 335.21°)
OKLaboklab(60.61% 0.1579 -0.0675)
OKLCHoklch(60.61% 0.172 336.9)
XYZxyz(31.4785, 19.9034, 38.7355)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF52A7 #52BF6A
analogous
#A052BF #BF52A7 #BF5270
triadic
#BF52A7 #A7BF52 #52A7BF
tetradic
#BF52A7 #BFA052 #52BF6A #5270BF
square
#BF52A7 #BFA052 #52BF6A #5270BF
split-complementary
#BF52A7 #70BF52 #52BFA0
monochromatic
#6E295F #9B3985 #BF52A7 #D07FBE #E0ABD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF52A7#FFFFFF#000000##000000
##BF52A71.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)
#5471AA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#C85775
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf52a7;
/* rgb */ color: rgb(191, 82, 167);
/* oklch */ color: oklch(60.6% 0.172 336.9);
Tailwind
colors: {
  custom: {
    50: '#d588c1',
    500: '#bf52a7',
    950: '#000000',
  },
}
SCSS
$custom: #bf52a7;
$custom-light: #d588c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf52a7",
  "rgb": {
    "r": 191,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 313.211,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.17168,
    "h": 336.9
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#BF52A7
secondary
#9FCEA9
accent
#D66F52
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #BF52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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