#BB407F#BB407F

#BB407F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.170 H 352.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB407F
RGBrgb(187, 64, 127)
HSLhsl(329, 49%, 49%)
HSVhsv(329, 66%, 73%)
CMYKcmyk(0%, 65.8%, 32.1%, 26.7%)
CIE-LABlab(46.67, 55.12, -8.85)
CIE-LCHlch(46.67, 55.83, 350.88°)
OKLaboklab(56.25% 0.1681 -0.0228)
OKLCHoklch(56.25% 0.17 352.3)
XYZxyz(26.1590, 15.7667, 21.7402)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB407F #40BB7C
analogous
#BA40BB #BB407F #BB4042
triadic
#BB407F #7FBB40 #407FBB
tetradic
#BB407F #BBBA40 #40BB7C #4042BB
square
#BB407F #BBBA40 #40BB7C #4042BB
split-complementary
#BB407F #42BB40 #40BBBA
monochromatic
#602141 #8D3060 #BB407F #CD6C9D #DC99BC

Accessibility & contrast

On white

5.06
#BB407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB407F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB407F#FFFFFF#000000##FFFFFF
##BB407F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536181
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#C9385A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb407f;
/* rgb */ color: rgb(187, 64, 127);
/* oklch */ color: oklch(56.3% 0.170 352.3);
Tailwind
colors: {
  custom: {
    50: '#d37da4',
    500: '#bb407f',
    950: '#000000',
  },
}
SCSS
$custom: #bb407f;
$custom-light: #d37da4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb407f",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 329.268,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.16965,
    "h": 352.3
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#BB407F
secondary
#8FC8AB
accent
#D9924F
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB407F

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

Preview Lab → · Contrast checker → · Palette generator →

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