#BB42A5#BB42A5

#BB42A5 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.1% C 0.191 H 335.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB42A5
RGBrgb(187, 66, 165)
HSLhsl(311, 48%, 50%)
HSVhsv(311, 65%, 73%)
CMYKcmyk(0%, 64.7%, 11.8%, 26.7%)
CIE-LABlab(48.49, 59.55, -28.84)
CIE-LCHlch(48.49, 66.17, 334.16°)
OKLaboklab(58.09% 0.1738 -0.0785)
OKLCHoklch(58.09% 0.191 335.7)
XYZxyz(29.2336, 17.1803, 37.3665)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42A5 #42BB58
analogous
#9542BB #BB42A5 #BB4269
triadic
#BB42A5 #A5BB42 #42A5BB
tetradic
#BB42A5 #BB9542 #42BB58 #4269BB
square
#BB42A5 #BB9542 #42BB58 #4269BB
split-complementary
#BB42A5 #69BB42 #42BB95
monochromatic
#612255 #8E327D #BB42A5 #CC6EBB #DC9CD0

Accessibility & contrast

On white

4.73
#BB42A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#BB42A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42A5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42A5#FFFFFF#000000##FFFFFF
##BB42A51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4368A8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#C4496D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb42a5;
/* rgb */ color: rgb(187, 66, 165);
/* oklch */ color: oklch(58.1% 0.191 335.7);
Tailwind
colors: {
  custom: {
    50: '#d37fc0',
    500: '#bb42a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb42a5;
$custom-light: #d37fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42a5",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 310.909,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.1907,
    "h": 335.7
  },
  "luminance": 0.17178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB42A5

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

Preview Lab → · Contrast checker → · Palette generator →

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