#BB407D#BB407D

#BB407D is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.2% C 0.169 H 353.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BB407D
RGBrgb(187, 64, 125)
HSLhsl(330, 49%, 49%)
HSVhsv(330, 66%, 73%)
CMYKcmyk(0%, 65.8%, 33.2%, 26.7%)
CIE-LABlab(46.60, 54.88, -7.74)
CIE-LCHlch(46.60, 55.42, 351.98°)
OKLaboklab(56.18% 0.1675 -0.0198)
OKLCHoklch(56.18% 0.169 353.3)
XYZxyz(26.0300, 15.7151, 21.0606)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB407D #40BB7E
analogous
#BB40BB #BB407D #BB4140
triadic
#BB407D #7DBB40 #407DBB
tetradic
#BB407D #BBBB40 #40BB7E #4140BB
square
#BB407D #BBBB40 #40BB7E #4140BB
split-complementary
#BB407D #40BB41 #40BBBB
monochromatic
#602140 #8D305F #BB407D #CD6C9C #DC99BA

Accessibility & contrast

On white

5.07
#BB407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BB407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB407D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB407D#FFFFFF#000000##FFFFFF
##BB407D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607F
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#C93859
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb407d;
/* rgb */ color: rgb(187, 64, 125);
/* oklch */ color: oklch(56.2% 0.169 353.3);
Tailwind
colors: {
  custom: {
    50: '#d37da2',
    500: '#bb407d',
    950: '#000000',
  },
}
SCSS
$custom: #bb407d;
$custom-light: #d37da2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb407d",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 330.244,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.16868,
    "h": 353.3
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#BB407D
secondary
#8FC8AC
accent
#D9944F
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BB407D

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

Preview Lab → · Contrast checker → · Palette generator →

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