#BB407A#BB407A

#BB407A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.167 H 354.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB407A
RGBrgb(187, 64, 122)
HSLhsl(332, 49%, 49%)
HSVhsv(332, 66%, 73%)
CMYKcmyk(0%, 65.8%, 34.8%, 26.7%)
CIE-LABlab(46.50, 54.52, -6.06)
CIE-LCHlch(46.50, 54.86, 353.66°)
OKLaboklab(56.07% 0.1666 -0.0153)
OKLCHoklch(56.07% 0.167 354.8)
XYZxyz(25.8412, 15.6396, 20.0665)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB407A #40BB81
analogous
#BB40B8 #BB407A #BB4340
triadic
#BB407A #7ABB40 #407ABB
tetradic
#BB407A #B8BB40 #40BB81 #4340BB
square
#BB407A #B8BB40 #40BB81 #4340BB
split-complementary
#BB407A #40BB43 #40B8BB
monochromatic
#60213F #8D305C #BB407A #CD6C99 #DC99B9

Accessibility & contrast

On white

5.09
#BB407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB407A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB407A#FFFFFF#000000##FFFFFF
##BB407A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#767777
Tritanopia (blue-blind)
#C93658
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb407a;
/* rgb */ color: rgb(187, 64, 122);
/* oklch */ color: oklch(56.1% 0.167 354.8);
Tailwind
colors: {
  custom: {
    50: '#d47da0',
    500: '#bb407a',
    950: '#000000',
  },
}
SCSS
$custom: #bb407a;
$custom-light: #d47da0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb407a",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 331.707,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.16732,
    "h": 354.8
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

primary
#BB407A
secondary
#8FC8AD
accent
#D9984F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB407A

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

Preview Lab → · Contrast checker → · Palette generator →

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