#BB45A3#BB45A3

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

Color values

HEX#BB45A3
RGBrgb(187, 69, 163)
HSLhsl(312, 46%, 50%)
HSVhsv(312, 63%, 73%)
CMYKcmyk(0%, 63.1%, 12.8%, 26.7%)
CIE-LABlab(48.84, 58.01, -27.10)
CIE-LCHlch(48.84, 64.02, 334.96°)
OKLaboklab(58.32% 0.1699 -0.0735)
OKLCHoklch(58.32% 0.185 336.6)
XYZxyz(29.2329, 17.4678, 36.4752)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A3 #45BB5D
analogous
#9845BB #BB45A3 #BB4568
triadic
#BB45A3 #A3BB45 #45A3BB
tetradic
#BB45A3 #BB9845 #45BB5D #4568BB
square
#BB45A3 #BB9845 #45BB5D #4568BB
split-complementary
#BB45A3 #68BB45 #45BB98
monochromatic
#622455 #8F347C #BB45A3 #CB72B9 #DC9FCF

Accessibility & contrast

On white

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

On black

4.49
#BB45A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB45A3#FFFFFF#000000##FFFFFF
##BB45A31.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb45a3;
/* rgb */ color: rgb(187, 69, 163);
/* oklch */ color: oklch(58.3% 0.185 336.6);
Tailwind
colors: {
  custom: {
    50: '#d380be',
    500: '#bb45a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a3;
$custom-light: #d380be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a3",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 312.203,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.18509,
    "h": 336.6
  },
  "luminance": 0.17465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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