#BF40A6#BF40A6

#BF40A6 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.197 H 336.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BF40A6
RGBrgb(191, 64, 166)
HSLhsl(312, 50%, 50%)
HSVhsv(312, 66%, 75%)
CMYKcmyk(0%, 66.5%, 13.1%, 25.1%)
CIE-LABlab(48.88, 61.53, -28.77)
CIE-LCHlch(48.88, 67.92, 334.94°)
OKLaboklab(58.51% 0.1804 -0.0782)
OKLCHoklch(58.51% 0.197 336.6)
XYZxyz(30.2026, 17.4989, 37.8559)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A6 #40BF59
analogous
#9840BF #BF40A6 #BF4067
triadic
#BF40A6 #A6BF40 #40A6BF
tetradic
#BF40A6 #BF9840 #40BF59 #4067BF
square
#BF40A6 #BF9840 #40BF59 #4067BF
split-complementary
#BF40A6 #67BF40 #40BF98
monochromatic
#632156 #91317E #BF40A6 #CE6EBB #DE9CD1

Accessibility & contrast

On white

4.67
#BF40A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BF40A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40A6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40A6#FFFFFF#000000##FFFFFF
##BF40A61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#6C7BA3
Tritanopia (blue-blind)
#C9476D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a6;
/* rgb */ color: rgb(191, 64, 166);
/* oklch */ color: oklch(58.5% 0.197 336.6);
Tailwind
colors: {
  custom: {
    50: '#d67ec0',
    500: '#bf40a6',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a6;
$custom-light: #d67ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a6",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 166
  },
  "hsl": {
    "h": 311.811,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.19663,
    "h": 336.6
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#BF40A6
secondary
#91CA9C
accent
#D96A4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40A6

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

Preview Lab → · Contrast checker → · Palette generator →

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