#BF40A3#BF40A3

#BF40A3 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.195 H 337.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BF40A3
RGBrgb(191, 64, 163)
HSLhsl(313, 50%, 50%)
HSVhsv(313, 66%, 75%)
CMYKcmyk(0%, 66.5%, 14.7%, 25.1%)
CIE-LABlab(48.75, 61.08, -27.20)
CIE-LCHlch(48.75, 66.87, 336.00°)
OKLaboklab(58.37% 0.18 -0.0737)
OKLCHoklch(58.37% 0.195 337.7)
XYZxyz(29.9306, 17.3901, 36.4235)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A3 #40BF5C
analogous
#9B40BF #BF40A3 #BF4064
triadic
#BF40A3 #A3BF40 #40A3BF
tetradic
#BF40A3 #BF9B40 #40BF5C #4064BF
square
#BF40A3 #BF9B40 #40BF5C #4064BF
split-complementary
#BF40A3 #64BF40 #40BF9B
monochromatic
#632155 #91317C #BF40A3 #CE6EB9 #DE9CCF

Accessibility & contrast

On white

4.69
#BF40A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BF40A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40A3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40A3#FFFFFF#000000##FFFFFF
##BF40A31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#C9466C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a3;
/* rgb */ color: rgb(191, 64, 163);
/* oklch */ color: oklch(58.4% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#d67ebe',
    500: '#bf40a3',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a3;
$custom-light: #d67ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a3",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 313.228,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.19451,
    "h": 337.7
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#BF40A3
secondary
#91CA9D
accent
#D96D4E
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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