#BF417E#BF417E

#BF417E is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.0% C 0.171 H 354.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BF417E
RGBrgb(191, 65, 126)
HSLhsl(331, 50%, 50%)
HSVhsv(331, 66%, 75%)
CMYKcmyk(0%, 66%, 34%, 25.1%)
CIE-LABlab(47.45, 55.77, -7.00)
CIE-LCHlch(47.45, 56.21, 352.85°)
OKLaboklab(56.95% 0.1704 -0.0178)
OKLCHoklch(56.95% 0.171 354)
XYZxyz(27.1436, 16.3663, 21.4642)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF417E #41BF82
analogous
#BF41BD #BF417E #BF4341
triadic
#BF417E #7EBF41 #417EBF
tetradic
#BF417E #BDBF41 #41BF82 #4341BF
square
#BF417E #BDBF41 #41BF82 #4341BF
split-complementary
#BF417E #41BF43 #41BDBF
monochromatic
#642242 #923160 #BF417E #CE6F9D #DE9DBC

Accessibility & contrast

On white

4.92
#BF417E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BF417E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF417E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF417E#FFFFFF#000000##FFFFFF
##BF417E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#78797B
Tritanopia (blue-blind)
#CD385A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf417e;
/* rgb */ color: rgb(191, 65, 126);
/* oklch */ color: oklch(57.0% 0.171 354.0);
Tailwind
colors: {
  custom: {
    50: '#d67ea3',
    500: '#bf417e',
    950: '#000000',
  },
}
SCSS
$custom: #bf417e;
$custom-light: #d67ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf417e",
  "rgb": {
    "r": 191,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 330.952,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.1713,
    "h": 354
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#BF417E
secondary
#92CAAF
accent
#D9964F
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BF417E

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

Preview Lab → · Contrast checker → · Palette generator →

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