#BB45A2#BB45A2

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

Color values

HEX#BB45A2
RGBrgb(187, 69, 162)
HSLhsl(313, 46%, 50%)
HSVhsv(313, 63%, 73%)
CMYKcmyk(0%, 63.1%, 13.4%, 26.7%)
CIE-LABlab(48.80, 57.85, -26.58)
CIE-LCHlch(48.80, 63.67, 335.32°)
OKLaboklab(58.27% 0.1697 -0.072)
OKLCHoklch(58.27% 0.184 337)
XYZxyz(29.1436, 17.4321, 36.0052)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45A2 #45BB5E
analogous
#9945BB #BB45A2 #BB4567
triadic
#BB45A2 #A2BB45 #45A2BB
tetradic
#BB45A2 #BB9945 #45BB5E #4567BB
square
#BB45A2 #BB9945 #45BB5E #4567BB
split-complementary
#BB45A2 #67BB45 #45BB99
monochromatic
#622455 #8F347B #BB45A2 #CB72B8 #DC9FCF

Accessibility & contrast

On white

4.68
#BB45A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB45A2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45A2#FFFFFF#000000##FFFFFF
##BB45A21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#C44B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb45a2;
/* rgb */ color: rgb(187, 69, 162);
/* oklch */ color: oklch(58.3% 0.184 337.0);
Tailwind
colors: {
  custom: {
    50: '#d380bd',
    500: '#bb45a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb45a2;
$custom-light: #d380bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45a2",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 312.712,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.18435,
    "h": 337
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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