#BB28A2#BB28A2

#BB28A2 is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.7% C 0.218 H 336.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB28A2
RGBrgb(187, 40, 162)
HSLhsl(310, 65%, 45%)
HSVhsv(310, 79%, 73%)
CMYKcmyk(0%, 78.6%, 13.4%, 26.7%)
CIE-LABlab(45.21, 67.95, -32.18)
CIE-LCHlch(45.21, 75.19, 334.66°)
OKLaboklab(55.67% 0.1998 -0.0878)
OKLCHoklch(55.67% 0.218 336.3)
XYZxyz(27.7744, 14.6936, 35.5488)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB28A2 #28BB41
analogous
#8B28BB #BB28A2 #BB2859
triadic
#BB28A2 #A2BB28 #28A2BB
tetradic
#BB28A2 #BB8B28 #28BB41 #2859BB
square
#BB28A2 #BB8B28 #28BB41 #2859BB
split-complementary
#BB28A2 #59BB28 #28BB8B
monochromatic
#56124B #891D76 #BB28A2 #D848BF #E37BD1

Accessibility & contrast

On white

5.33
#BB28A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BB28A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB28A2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB28A2#FFFFFF#000000##FFFFFF
##BB28A21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#C53464
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb28a2;
/* rgb */ color: rgb(187, 40, 162);
/* oklch */ color: oklch(55.7% 0.218 336.3);
Tailwind
colors: {
  custom: {
    50: '#d473be',
    500: '#bb28a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb28a2;
$custom-light: #d473be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb28a2",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 310.204,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.21819,
    "h": 336.3
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#BB28A2
secondary
#74CB83
accent
#E85D40
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB28A2

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

Preview Lab → · Contrast checker → · Palette generator →

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