#BF407D#BF407D

#BF407D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.8% C 0.172 H 354.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BF407D
RGBrgb(191, 64, 125)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 66%, 75%)
CMYKcmyk(0%, 66.5%, 34.6%, 25.1%)
CIE-LABlab(47.27, 56.06, -6.66)
CIE-LCHlch(47.27, 56.45, 353.22°)
OKLaboklab(56.81% 0.1713 -0.0169)
OKLCHoklch(56.81% 0.172 354.4)
XYZxyz(27.0225, 16.2269, 21.1071)
Luminance0.1622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF407D #40BF82
analogous
#BF40BD #BF407D #BF4240
triadic
#BF407D #7DBF40 #407DBF
tetradic
#BF407D #BDBF40 #40BF82 #4240BF
square
#BF407D #BDBF40 #40BF82 #4240BF
split-complementary
#BF407D #40BF42 #40BDBF
monochromatic
#632141 #91315F #BF407D #CE6E9C #DE9CBB

Accessibility & contrast

On white

4.95
#BF407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BF407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF407D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF407D#FFFFFF#000000##FFFFFF
##BF407D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#78797A
Tritanopia (blue-blind)
#CD3659
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bf407d;
/* rgb */ color: rgb(191, 64, 125);
/* oklch */ color: oklch(56.8% 0.172 354.4);
Tailwind
colors: {
  custom: {
    50: '#d77da2',
    500: '#bf407d',
    950: '#000000',
  },
}
SCSS
$custom: #bf407d;
$custom-light: #d77da2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf407d",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 331.181,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.17217,
    "h": 354.4
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#BF407D
secondary
#91CAAF
accent
#D9974E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BF407D

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

Preview Lab → · Contrast checker → · Palette generator →

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