#BB27A2#BB27A2

#BB27A2 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.6% C 0.219 H 336.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BB27A2
RGBrgb(187, 39, 162)
HSLhsl(310, 65%, 44%)
HSVhsv(310, 79%, 73%)
CMYKcmyk(0%, 79.1%, 13.4%, 26.7%)
CIE-LABlab(45.12, 68.22, -32.32)
CIE-LCHlch(45.12, 75.49, 334.65°)
OKLaboklab(55.61% 0.2006 -0.0882)
OKLCHoklch(55.61% 0.219 336.3)
XYZxyz(27.7411, 14.6271, 35.5377)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27A2 #27BB40
analogous
#8A27BB #BB27A2 #BB2758
triadic
#BB27A2 #A2BB27 #27A2BB
tetradic
#BB27A2 #BB8A27 #27BB40 #2758BB
square
#BB27A2 #BB8A27 #27BB40 #2758BB
split-complementary
#BB27A2 #58BB27 #27BB8A
monochromatic
#56124A #881C76 #BB27A2 #D947C0 #E379D1

Accessibility & contrast

On white

5.35
#BB27A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB27A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27A2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27A2#FFFFFF#000000##FFFFFF
##BB27A21.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#C53364
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb27a2;
/* rgb */ color: rgb(187, 39, 162);
/* oklch */ color: oklch(55.6% 0.219 336.3);
Tailwind
colors: {
  custom: {
    50: '#d473be',
    500: '#bb27a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb27a2;
$custom-light: #d473be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27a2",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 310.135,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.21909,
    "h": 336.3
  },
  "luminance": 0.14624
}

Semantic roles & 50–950 ramp

primary
#BB27A2
secondary
#73CB82
accent
#E85C3F
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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