#BB408E#BB408E

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

Color values

HEX#BB408E
RGBrgb(187, 64, 142)
HSLhsl(322, 49%, 49%)
HSVhsv(322, 66%, 73%)
CMYKcmyk(0%, 65.8%, 24.1%, 26.7%)
CIE-LABlab(47.22, 57.04, -17.08)
CIE-LCHlch(47.22, 59.54, 343.33°)
OKLaboklab(56.84% 0.172 -0.0453)
OKLCHoklch(56.84% 0.178 345.2)
XYZxyz(27.2104, 16.1873, 27.2774)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB408E #40BB6D
analogous
#AB40BB #BB408E #BB4051
triadic
#BB408E #8EBB40 #408EBB
tetradic
#BB408E #BBAB40 #40BB6D #4051BB
square
#BB408E #BBAB40 #40BB6D #4051BB
split-complementary
#BB408E #51BB40 #40BBAB
monochromatic
#602149 #8D306B #BB408E #CD6CA9 #DC99C4

Accessibility & contrast

On white

4.96
#BB408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB408E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB408E#FFFFFF#000000##FFFFFF
##BB408E1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#71788B
Tritanopia (blue-blind)
#C73E61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb408e;
/* rgb */ color: rgb(187, 64, 142);
/* oklch */ color: oklch(56.8% 0.178 345.2);
Tailwind
colors: {
  custom: {
    50: '#d37daf',
    500: '#bb408e',
    950: '#000000',
  },
}
SCSS
$custom: #bb408e;
$custom-light: #d37daf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb408e",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 321.951,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.17787,
    "h": 345.2
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#BB408E
secondary
#8FC8A4
accent
#D9814F
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB408E

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

Preview Lab → · Contrast checker → · Palette generator →

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