#BB45A5#BB45A5

#BB45A5 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.4% C 0.187 H 335.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB45A5
RGBrgb(187, 69, 165)
HSLhsl(311, 46%, 50%)
HSVhsv(311, 63%, 73%)
CMYKcmyk(0%, 63.1%, 11.8%, 26.7%)
CIE-LABlab(48.93, 58.31, -28.15)
CIE-LCHlch(48.93, 64.75, 334.24°)
OKLaboklab(58.41% 0.1702 -0.0765)
OKLCHoklch(58.41% 0.187 335.8)
XYZxyz(29.4135, 17.5400, 37.4264)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A5 #45BB5B
analogous
#9645BB #BB45A5 #BB456A
triadic
#BB45A5 #A5BB45 #45A5BB
tetradic
#BB45A5 #BB9645 #45BB5B #456ABB
square
#BB45A5 #BB9645 #45BB5B #456ABB
split-complementary
#BB45A5 #6ABB45 #45BB96
monochromatic
#622456 #8F347E #BB45A5 #CB72BB #DC9FD0

Accessibility & contrast

On white

4.66
#BB45A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB45A5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A5#FFFFFF#000000##FFFFFF
##BB45A51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A8
Deuteranopia (green-blind)
#6B7BA2
Tritanopia (blue-blind)
#C44C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a5;
/* rgb */ color: rgb(187, 69, 165);
/* oklch */ color: oklch(58.4% 0.187 335.8);
Tailwind
colors: {
  custom: {
    50: '#d380c0',
    500: '#bb45a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a5;
$custom-light: #d380c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a5",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 311.186,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58413,
    "c": 0.18657,
    "h": 335.8
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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