#BB42A3#BB42A3

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

Color values

HEX#BB42A3
RGBrgb(187, 66, 163)
HSLhsl(312, 48%, 50%)
HSVhsv(312, 65%, 73%)
CMYKcmyk(0%, 64.7%, 12.8%, 26.7%)
CIE-LABlab(48.40, 59.24, -27.80)
CIE-LCHlch(48.40, 65.44, 334.86°)
OKLaboklab(57.99% 0.1735 -0.0755)
OKLCHoklch(57.99% 0.189 336.5)
XYZxyz(29.0530, 17.1080, 36.4153)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42A3 #42BB5A
analogous
#9742BB #BB42A3 #BB4267
triadic
#BB42A3 #A3BB42 #42A3BB
tetradic
#BB42A3 #BB9742 #42BB5A #4267BB
square
#BB42A3 #BB9742 #42BB5A #4267BB
split-complementary
#BB42A3 #67BB42 #42BB97
monochromatic
#612254 #8E327C #BB42A3 #CC6EB9 #DC9CCF

Accessibility & contrast

On white

4.75
#BB42A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BB42A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42A3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42A3#FFFFFF#000000##FFFFFF
##BB42A31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A6
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#C4496C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb42a3;
/* rgb */ color: rgb(187, 66, 163);
/* oklch */ color: oklch(58.0% 0.189 336.5);
Tailwind
colors: {
  custom: {
    50: '#d37fbe',
    500: '#bb42a3',
    950: '#000000',
  },
}
SCSS
$custom: #bb42a3;
$custom-light: #d37fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42a3",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 311.901,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57991,
    "c": 0.18923,
    "h": 336.5
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#BB42A3
secondary
#91C89C
accent
#D76B50
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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