#BB42A2#BB42A2

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

Color values

HEX#BB42A2
RGBrgb(187, 66, 162)
HSLhsl(312, 48%, 50%)
HSVhsv(312, 65%, 73%)
CMYKcmyk(0%, 64.7%, 13.4%, 26.7%)
CIE-LABlab(48.35, 59.09, -27.28)
CIE-LCHlch(48.35, 65.08, 335.22°)
OKLaboklab(57.94% 0.1734 -0.074)
OKLCHoklch(57.94% 0.189 336.9)
XYZxyz(28.9637, 17.0723, 35.9453)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42A2 #42BB5B
analogous
#9842BB #BB42A2 #BB4265
triadic
#BB42A2 #A2BB42 #42A2BB
tetradic
#BB42A2 #BB9842 #42BB5B #4265BB
square
#BB42A2 #BB9842 #42BB5B #4265BB
split-complementary
#BB42A2 #65BB42 #42BB98
monochromatic
#612254 #8E327B #BB42A2 #CC6EB9 #DC9CCF

Accessibility & contrast

On white

4.76
#BB42A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BB42A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB42A2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42A2#FFFFFF#000000##FFFFFF
##BB42A21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#C4486C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb42a2;
/* rgb */ color: rgb(187, 66, 162);
/* oklch */ color: oklch(57.9% 0.189 336.9);
Tailwind
colors: {
  custom: {
    50: '#d37fbe',
    500: '#bb42a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb42a2;
$custom-light: #d37fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42a2",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 312.397,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.1885,
    "h": 336.9
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#BB42A2
secondary
#91C89C
accent
#D76C50
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BB42A2

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

Preview Lab → · Contrast checker → · Palette generator →

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