#BF40A5#BF40A5

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

Color values

HEX#BF40A5
RGBrgb(191, 64, 165)
HSLhsl(312, 50%, 50%)
HSVhsv(312, 66%, 75%)
CMYKcmyk(0%, 66.5%, 13.6%, 25.1%)
CIE-LABlab(48.84, 61.38, -28.25)
CIE-LCHlch(48.84, 67.57, 335.29°)
OKLaboklab(58.47% 0.1803 -0.0767)
OKLCHoklch(58.47% 0.196 337)
XYZxyz(30.1112, 17.4624, 37.3747)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A5 #40BF5A
analogous
#9940BF #BF40A5 #BF4066
triadic
#BF40A5 #A5BF40 #40A5BF
tetradic
#BF40A5 #BF9940 #40BF5A #4066BF
square
#BF40A5 #BF9940 #40BF5A #4066BF
split-complementary
#BF40A5 #66BF40 #40BF99
monochromatic
#632156 #91317D #BF40A5 #CE6EBB #DE9CD0

Accessibility & contrast

On white

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

On black

4.49
#BF40A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BF40A5#FFFFFF#000000##FFFFFF
##BF40A51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#C9476D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a5;
/* rgb */ color: rgb(191, 64, 165);
/* oklch */ color: oklch(58.5% 0.196 337.0);
Tailwind
colors: {
  custom: {
    50: '#d67ec0',
    500: '#bf40a5',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a5;
$custom-light: #d67ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a5",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 312.283,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.19592,
    "h": 337
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF40A5

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

Preview Lab → · Contrast checker → · Palette generator →

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