#BF40A2#BF40A2

#BF40A2 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.194 H 338.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BF40A2
RGBrgb(191, 64, 162)
HSLhsl(314, 50%, 50%)
HSVhsv(314, 66%, 75%)
CMYKcmyk(0%, 66.5%, 15.2%, 25.1%)
CIE-LABlab(48.70, 60.94, -26.68)
CIE-LCHlch(48.70, 66.52, 336.36°)
OKLaboklab(58.33% 0.1799 -0.0722)
OKLCHoklch(58.33% 0.194 338.1)
XYZxyz(29.8414, 17.3544, 35.9535)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40A2 #40BF5D
analogous
#9D40BF #BF40A2 #BF4062
triadic
#BF40A2 #A2BF40 #40A2BF
tetradic
#BF40A2 #BF9D40 #40BF5D #4062BF
square
#BF40A2 #BF9D40 #40BF5D #4062BF
split-complementary
#BF40A2 #62BF40 #40BF9D
monochromatic
#632154 #91317B #BF40A2 #CE6EB8 #DE9CCF

Accessibility & contrast

On white

4.70
#BF40A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BF40A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40A2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40A2#FFFFFF#000000##FFFFFF
##BF40A21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#C9456B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf40a2;
/* rgb */ color: rgb(191, 64, 162);
/* oklch */ color: oklch(58.3% 0.194 338.1);
Tailwind
colors: {
  custom: {
    50: '#d67ebd',
    500: '#bf40a2',
    950: '#000000',
  },
}
SCSS
$custom: #bf40a2;
$custom-light: #d67ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40a2",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 313.701,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.19381,
    "h": 338.1
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#BF40A2
secondary
#91CA9E
accent
#D96E4E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40A2

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

Preview Lab → · Contrast checker → · Palette generator →

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