#BF40A9#BF40A9

#BF40A9 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.7% C 0.199 H 335.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BF40A9
RGBrgb(191, 64, 169)
HSLhsl(310, 50%, 50%)
HSVhsv(310, 66%, 75%)
CMYKcmyk(0%, 66.5%, 11.5%, 25.1%)
CIE-LABlab(49.02, 61.98, -30.32)
CIE-LCHlch(49.02, 69.00, 333.93°)
OKLaboklab(58.66% 0.1808 -0.0826)
OKLCHoklch(58.66% 0.199 335.4)
XYZxyz(30.4810, 17.6103, 39.3222)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A9 #40BF56
analogous
#9640BF #BF40A9 #BF4069
triadic
#BF40A9 #A9BF40 #40A9BF
tetradic
#BF40A9 #BF9640 #40BF56 #4069BF
square
#BF40A9 #BF9640 #40BF56 #4069BF
split-complementary
#BF40A9 #69BF40 #40BF96
monochromatic
#632158 #913180 #BF40A9 #CE6EBE #DE9CD2

Accessibility & contrast

On white

4.64
#BF40A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BF40A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40A9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40A9#FFFFFF#000000##FFFFFF
##BF40A91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#6A7BA6
Tritanopia (blue-blind)
#C8486F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a9;
/* rgb */ color: rgb(191, 64, 169);
/* oklch */ color: oklch(58.7% 0.199 335.4);
Tailwind
colors: {
  custom: {
    50: '#d67ec3',
    500: '#bf40a9',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a9;
$custom-light: #d67ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a9",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 310.394,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.19879,
    "h": 335.4
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#BF40A9
secondary
#91CA9B
accent
#D9674E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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