#BF51A2#BF51A2

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

Color values

HEX#BF51A2
RGBrgb(191, 81, 162)
HSLhsl(316, 46%, 53%)
HSVhsv(316, 58%, 75%)
CMYKcmyk(0%, 57.6%, 15.2%, 25.1%)
CIE-LABlab(51.35, 53.69, -22.59)
CIE-LCHlch(51.35, 58.25, 337.18°)
OKLaboklab(60.27% 0.1582 -0.0608)
OKLCHoklch(60.27% 0.17 339)
XYZxyz(30.9504, 19.5724, 36.3232)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51A2 #51BF6E
analogous
#A551BF #BF51A2 #BF516B
triadic
#BF51A2 #A2BF51 #51A2BF
tetradic
#BF51A2 #BFA551 #51BF6E #516BBF
square
#BF51A2 #BFA551 #51BF6E #516BBF
split-complementary
#BF51A2 #6BBF51 #51BFA5
monochromatic
#6D285B #9A3980 #BF51A2 #CF7EBA #E0AAD2

Accessibility & contrast

On white

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

On black

4.91
#BF51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51A2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51A2#FFFFFF#000000##000000
##BF51A21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#C95472
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf51a2;
/* rgb */ color: rgb(191, 81, 162);
/* oklch */ color: oklch(60.3% 0.170 339.0);
Tailwind
colors: {
  custom: {
    50: '#d587bd',
    500: '#bf51a2',
    950: '#000000',
  },
}
SCSS
$custom: #bf51a2;
$custom-light: #d587bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51a2",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 315.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.16952,
    "h": 339
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#BF51A2
secondary
#9ECEAB
accent
#D67552
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #BF51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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