#BB42A4#BB42A4

#BB42A4 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 336.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BB42A4
RGBrgb(187, 66, 164)
HSLhsl(311, 48%, 50%)
HSVhsv(311, 65%, 73%)
CMYKcmyk(0%, 64.7%, 12.3%, 26.7%)
CIE-LABlab(48.44, 59.40, -28.32)
CIE-LCHlch(48.44, 65.80, 334.51°)
OKLaboklab(58.04% 0.1737 -0.077)
OKLCHoklch(58.04% 0.19 336.1)
XYZxyz(29.1429, 17.1440, 36.8890)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42A4 #42BB59
analogous
#9642BB #BB42A4 #BB4268
triadic
#BB42A4 #A4BB42 #42A4BB
tetradic
#BB42A4 #BB9642 #42BB59 #4268BB
square
#BB42A4 #BB9642 #42BB59 #4268BB
split-complementary
#BB42A4 #68BB42 #42BB96
monochromatic
#612255 #8E327C #BB42A4 #CC6EBA #DC9CD0

Accessibility & contrast

On white

4.74
#BB42A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BB42A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42A4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42A4#FFFFFF#000000##FFFFFF
##BB42A41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A7
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#C4496D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb42a4;
/* rgb */ color: rgb(187, 66, 164);
/* oklch */ color: oklch(58.0% 0.190 336.1);
Tailwind
colors: {
  custom: {
    50: '#d37fbf',
    500: '#bb42a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb42a4;
$custom-light: #d37fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42a4",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 311.405,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.18997,
    "h": 336.1
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#BB42A4
secondary
#91C89B
accent
#D76A50
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB42A4

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

Preview Lab → · Contrast checker → · Palette generator →

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