#BB45A6#BB45A6

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

Color values

HEX#BB45A6
RGBrgb(187, 69, 166)
HSLhsl(311, 46%, 50%)
HSVhsv(311, 63%, 73%)
CMYKcmyk(0%, 63.1%, 11.2%, 26.7%)
CIE-LABlab(48.98, 58.47, -28.67)
CIE-LCHlch(48.98, 65.12, 333.88°)
OKLaboklab(58.46% 0.1703 -0.078)
OKLCHoklch(58.46% 0.187 335.4)
XYZxyz(29.5049, 17.5766, 37.9077)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A6 #45BB5A
analogous
#9545BB #BB45A6 #BB456B
triadic
#BB45A6 #A6BB45 #45A6BB
tetradic
#BB45A6 #BB9545 #45BB5A #456BBB
square
#BB45A6 #BB9545 #45BB5A #456BBB
split-complementary
#BB45A6 #6BBB45 #45BB95
monochromatic
#622457 #8F347F #BB45A6 #CB72BB #DC9FD1

Accessibility & contrast

On white

4.65
#BB45A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BB45A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45A6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A6#FFFFFF#000000##FFFFFF
##BB45A61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4569A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#C44C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a6;
/* rgb */ color: rgb(187, 69, 166);
/* oklch */ color: oklch(58.5% 0.187 335.4);
Tailwind
colors: {
  custom: {
    50: '#d380c0',
    500: '#bb45a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a6;
$custom-light: #d380c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a6",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 310.678,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.18731,
    "h": 335.4
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#BB45A6
secondary
#94C89D
accent
#D66952
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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