#BF407F#BF407F

#BF407F is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.173 H 353.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BF407F
RGBrgb(191, 64, 127)
HSLhsl(330, 50%, 50%)
HSVhsv(330, 66%, 75%)
CMYKcmyk(0%, 66.5%, 33.5%, 25.1%)
CIE-LABlab(47.34, 56.29, -7.78)
CIE-LCHlch(47.34, 56.82, 352.13°)
OKLaboklab(56.88% 0.1719 -0.0199)
OKLCHoklch(56.88% 0.173 353.4)
XYZxyz(27.1515, 16.2785, 21.7868)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF407F #40BF80
analogous
#BF40BF #BF407F #BF4040
triadic
#BF407F #7FBF40 #407FBF
tetradic
#BF407F #BFBF40 #40BF80 #4040BF
square
#BF407F #BFBF40 #40BF80 #4040BF
split-complementary
#BF407F #40BF40 #40BFBF
monochromatic
#632142 #913161 #BF407F #CE6E9E #DE9CBC

Accessibility & contrast

On white

4.94
#BF407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BF407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF407F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF407F#FFFFFF#000000##FFFFFF
##BF407F1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556281
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#CD375A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bf407f;
/* rgb */ color: rgb(191, 64, 127);
/* oklch */ color: oklch(56.9% 0.173 353.4);
Tailwind
colors: {
  custom: {
    50: '#d67da4',
    500: '#bf407f',
    950: '#000000',
  },
}
SCSS
$custom: #bf407f;
$custom-light: #d67da4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf407f",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 330.236,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.17307,
    "h": 353.4
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#BF407F
secondary
#91CAAE
accent
#D9944E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BF407F

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

Preview Lab → · Contrast checker → · Palette generator →

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