#BB408F#BB408F

#BB408F is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.9% C 0.178 H 344.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BB408F
RGBrgb(187, 64, 143)
HSLhsl(321, 49%, 49%)
HSVhsv(321, 66%, 73%)
CMYKcmyk(0%, 65.8%, 23.5%, 26.7%)
CIE-LABlab(47.26, 57.17, -17.62)
CIE-LCHlch(47.26, 59.83, 342.87°)
OKLaboklab(56.88% 0.1722 -0.0468)
OKLCHoklch(56.88% 0.178 344.8)
XYZxyz(27.2858, 16.2174, 27.6746)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408F #40BB6C
analogous
#AA40BB #BB408F #BB4052
triadic
#BB408F #8FBB40 #408FBB
tetradic
#BB408F #BBAA40 #40BB6C #4052BB
square
#BB408F #BBAA40 #40BB6C #4052BB
split-complementary
#BB408F #52BB40 #40BBAA
monochromatic
#602149 #8D306C #BB408F #CD6CAA #DC99C4

Accessibility & contrast

On white

4.95
#BB408F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BB408F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB408F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB408F#FFFFFF#000000##FFFFFF
##BB408F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6391
Deuteranopia (green-blind)
#71788C
Tritanopia (blue-blind)
#C73F62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408f;
/* rgb */ color: rgb(187, 64, 143);
/* oklch */ color: oklch(56.9% 0.178 344.8);
Tailwind
colors: {
  custom: {
    50: '#d37db0',
    500: '#bb408f',
    950: '#000000',
  },
}
SCSS
$custom: #bb408f;
$custom-light: #d37db0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408f",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 321.463,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.17848,
    "h": 344.8
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#BB408F
secondary
#8FC8A3
accent
#D9804F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB408F

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

Preview Lab → · Contrast checker → · Palette generator →

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