#BB407E#BB407E

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

Color values

HEX#BB407E
RGBrgb(187, 64, 126)
HSLhsl(330, 49%, 49%)
HSVhsv(330, 66%, 73%)
CMYKcmyk(0%, 65.8%, 32.6%, 26.7%)
CIE-LABlab(46.63, 55.00, -8.29)
CIE-LCHlch(46.63, 55.62, 351.43°)
OKLaboklab(56.22% 0.1678 -0.0213)
OKLCHoklch(56.22% 0.169 352.8)
XYZxyz(26.0942, 15.7408, 21.3987)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB407E #40BB7D
analogous
#BB40BB #BB407E #BB4041
triadic
#BB407E #7EBB40 #407EBB
tetradic
#BB407E #BBBB40 #40BB7D #4041BB
square
#BB407E #BBBB40 #40BB7D #4041BB
split-complementary
#BB407E #41BB40 #40BBBB
monochromatic
#602141 #8D305F #BB407E #CD6C9C #DC99BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB407E#FFFFFF#000000##FFFFFF
##BB407E1.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)
#536080
Deuteranopia (green-blind)
#75777B
Tritanopia (blue-blind)
#C9385A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb407e;
/* rgb */ color: rgb(187, 64, 126);
/* oklch */ color: oklch(56.2% 0.169 352.8);
Tailwind
colors: {
  custom: {
    50: '#d37da3',
    500: '#bb407e',
    950: '#000000',
  },
}
SCSS
$custom: #bb407e;
$custom-light: #d37da3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb407e",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 329.756,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.16917,
    "h": 352.8
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#BB407E
secondary
#8FC8AB
accent
#D9934F
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BB407E

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

Preview Lab → · Contrast checker → · Palette generator →

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