#BB45A7#BB45A7

#BB45A7 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.188 H 335.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BB45A7
RGBrgb(187, 69, 167)
HSLhsl(310, 46%, 50%)
HSVhsv(310, 63%, 73%)
CMYKcmyk(0%, 63.1%, 10.7%, 26.7%)
CIE-LABlab(49.02, 58.63, -29.18)
CIE-LCHlch(49.02, 65.49, 333.54°)
OKLaboklab(58.51% 0.1705 -0.0795)
OKLCHoklch(58.51% 0.188 335)
XYZxyz(29.5969, 17.6134, 38.3926)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A7 #45BB59
analogous
#9445BB #BB45A7 #BB456C
triadic
#BB45A7 #A7BB45 #45A7BB
tetradic
#BB45A7 #BB9445 #45BB59 #456CBB
square
#BB45A7 #BB9445 #45BB59 #456CBB
split-complementary
#BB45A7 #6CBB45 #45BB94
monochromatic
#622457 #8F347F #BB45A7 #CB72BC #DC9FD1

Accessibility & contrast

On white

4.64
#BB45A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BB45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45A7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A7#FFFFFF#000000##FFFFFF
##BB45A71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569AA
Deuteranopia (green-blind)
#6B7BA4
Tritanopia (blue-blind)
#C44D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a7;
/* rgb */ color: rgb(187, 69, 167);
/* oklch */ color: oklch(58.5% 0.188 335.0);
Tailwind
colors: {
  custom: {
    50: '#d380c1',
    500: '#bb45a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a7;
$custom-light: #d380c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a7",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 310.169,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.18806,
    "h": 335
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#BB45A7
secondary
#94C89C
accent
#D66852
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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