#BF407C#BF407C

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

Color values

HEX#BF407C
RGBrgb(191, 64, 124)
HSLhsl(332, 50%, 50%)
HSVhsv(332, 66%, 75%)
CMYKcmyk(0%, 66.5%, 35.1%, 25.1%)
CIE-LABlab(47.24, 55.94, -6.10)
CIE-LCHlch(47.24, 56.27, 353.77°)
OKLaboklab(56.77% 0.171 -0.0154)
OKLCHoklch(56.77% 0.172 354.9)
XYZxyz(26.9589, 16.2014, 20.7724)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF407C #40BF83
analogous
#BF40BB #BF407C #BF4440
triadic
#BF407C #7CBF40 #407CBF
tetradic
#BF407C #BBBF40 #40BF83 #4440BF
square
#BF407C #BBBF40 #40BF83 #4440BF
split-complementary
#BF407C #40BF44 #40BBBF
monochromatic
#632140 #91315E #BF407C #CE6E9B #DE9CBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF407C#FFFFFF#000000##FFFFFF
##BF407C1.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)
#56617E
Deuteranopia (green-blind)
#797979
Tritanopia (blue-blind)
#CE3659
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bf407c;
/* rgb */ color: rgb(191, 64, 124);
/* oklch */ color: oklch(56.8% 0.172 354.9);
Tailwind
colors: {
  custom: {
    50: '#d77da1',
    500: '#bf407c',
    950: '#000000',
  },
}
SCSS
$custom: #bf407c;
$custom-light: #d77da1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf407c",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 331.654,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.5677,
    "c": 0.17172,
    "h": 354.9
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF407C

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

Preview Lab → · Contrast checker → · Palette generator →

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