#BB45A1#BB45A1

#BB45A1 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.184 H 337.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BB45A1
RGBrgb(187, 69, 161)
HSLhsl(313, 46%, 50%)
HSVhsv(313, 63%, 73%)
CMYKcmyk(0%, 63.1%, 13.9%, 26.7%)
CIE-LABlab(48.76, 57.70, -26.05)
CIE-LCHlch(48.76, 63.31, 335.70°)
OKLaboklab(58.23% 0.1695 -0.0706)
OKLCHoklch(58.23% 0.184 337.4)
XYZxyz(29.0551, 17.3967, 35.5389)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A1 #45BB5F
analogous
#9A45BB #BB45A1 #BB4566
triadic
#BB45A1 #A1BB45 #45A1BB
tetradic
#BB45A1 #BB9A45 #45BB5F #4566BB
square
#BB45A1 #BB9A45 #45BB5F #4566BB
split-complementary
#BB45A1 #66BB45 #45BB9A
monochromatic
#622454 #8F347B #BB45A1 #CB72B8 #DC9FCE

Accessibility & contrast

On white

4.69
#BB45A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BB45A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45A1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A1#FFFFFF#000000##FFFFFF
##BB45A11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#6D7A9E
Tritanopia (blue-blind)
#C54A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a1;
/* rgb */ color: rgb(187, 69, 161);
/* oklch */ color: oklch(58.2% 0.184 337.4);
Tailwind
colors: {
  custom: {
    50: '#d380bd',
    500: '#bb45a1',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a1;
$custom-light: #d380bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a1",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 313.22,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.18363,
    "h": 337.4
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#BB45A1
secondary
#94C89F
accent
#D66F52
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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