#BB45A4#BB45A4

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

Color values

HEX#BB45A4
RGBrgb(187, 69, 164)
HSLhsl(312, 46%, 50%)
HSVhsv(312, 63%, 73%)
CMYKcmyk(0%, 63.1%, 12.3%, 26.7%)
CIE-LABlab(48.89, 58.16, -27.62)
CIE-LCHlch(48.89, 64.39, 334.59°)
OKLaboklab(58.37% 0.17 -0.075)
OKLCHoklch(58.37% 0.186 336.2)
XYZxyz(29.3228, 17.5038, 36.9490)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A4 #45BB5C
analogous
#9745BB #BB45A4 #BB4569
triadic
#BB45A4 #A4BB45 #45A4BB
tetradic
#BB45A4 #BB9745 #45BB5C #4569BB
square
#BB45A4 #BB9745 #45BB5C #4569BB
split-complementary
#BB45A4 #69BB45 #45BB97
monochromatic
#622456 #8F347D #BB45A4 #CB72BA #DC9FD0

Accessibility & contrast

On white

4.67
#BB45A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BB45A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB45A4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A4#FFFFFF#000000##FFFFFF
##BB45A41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#C44B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a4;
/* rgb */ color: rgb(187, 69, 164);
/* oklch */ color: oklch(58.4% 0.186 336.2);
Tailwind
colors: {
  custom: {
    50: '#d380bf',
    500: '#bb45a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a4;
$custom-light: #d380bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a4",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 311.695,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58366,
    "c": 0.18583,
    "h": 336.2
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#BB45A4
secondary
#94C89E
accent
#D66C52
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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