#BF407E#BF407E

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

Color values

HEX#BF407E
RGBrgb(191, 64, 126)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 66%, 75%)
CMYKcmyk(0%, 66.5%, 34%, 25.1%)
CIE-LABlab(47.30, 56.17, -7.22)
CIE-LCHlch(47.30, 56.64, 352.68°)
OKLaboklab(56.84% 0.1716 -0.0184)
OKLCHoklch(56.84% 0.173 353.9)
XYZxyz(27.0867, 16.2525, 21.4452)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF407E #40BF81
analogous
#BF40BD #BF407E #BF4240
triadic
#BF407E #7EBF40 #407EBF
tetradic
#BF407E #BDBF40 #40BF81 #4240BF
square
#BF407E #BDBF40 #40BF81 #4240BF
split-complementary
#BF407E #40BF42 #40BDBF
monochromatic
#632142 #913160 #BF407E #CE6E9D #DE9CBC

Accessibility & contrast

On white

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

On black

4.25
#BF407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BF407E#FFFFFF#000000##FFFFFF
##BF407E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf407e;
/* rgb */ color: rgb(191, 64, 126);
/* oklch */ color: oklch(56.8% 0.173 353.9);
Tailwind
colors: {
  custom: {
    50: '#d67da3',
    500: '#bf407e',
    950: '#000000',
  },
}
SCSS
$custom: #bf407e;
$custom-light: #d67da3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf407e",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 330.709,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.17262,
    "h": 353.9
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#BF407E
secondary
#91CAAE
accent
#D9964E
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BF407E

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

Preview Lab → · Contrast checker → · Palette generator →

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