#BF40A4#BF40A4

#BF40A4 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.195 H 337.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BF40A4
RGBrgb(191, 64, 164)
HSLhsl(313, 50%, 50%)
HSVhsv(313, 66%, 75%)
CMYKcmyk(0%, 66.5%, 14.1%, 25.1%)
CIE-LABlab(48.79, 61.23, -27.72)
CIE-LCHlch(48.79, 67.22, 335.64°)
OKLaboklab(58.42% 0.1802 -0.0752)
OKLCHoklch(58.42% 0.195 337.3)
XYZxyz(30.0206, 17.4261, 36.8972)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A4 #40BF5B
analogous
#9B40BF #BF40A4 #BF4064
triadic
#BF40A4 #A4BF40 #40A4BF
tetradic
#BF40A4 #BF9B40 #40BF5B #4064BF
square
#BF40A4 #BF9B40 #40BF5B #4064BF
split-complementary
#BF40A4 #64BF40 #40BF9B
monochromatic
#632155 #91317D #BF40A4 #CE6EBA #DE9CD0

Accessibility & contrast

On white

4.68
#BF40A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BF40A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40A4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40A4#FFFFFF#000000##FFFFFF
##BF40A41.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A7
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#C9466C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a4;
/* rgb */ color: rgb(191, 64, 164);
/* oklch */ color: oklch(58.4% 0.195 337.3);
Tailwind
colors: {
  custom: {
    50: '#d67ebf',
    500: '#bf40a4',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a4;
$custom-light: #d67ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a4",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 312.756,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.19521,
    "h": 337.3
  },
  "luminance": 0.17423
}

Semantic roles & 50–950 ramp

primary
#BF40A4
secondary
#91CA9D
accent
#D96C4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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