#BB21A0#BB21A0

#BB21A0 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.1% C 0.223 H 336.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BB21A0
RGBrgb(187, 33, 160)
HSLhsl(311, 70%, 43%)
HSVhsv(311, 82%, 73%)
CMYKcmyk(0%, 82.4%, 14.4%, 26.7%)
CIE-LABlab(44.51, 69.42, -32.09)
CIE-LCHlch(44.51, 76.47, 335.19°)
OKLaboklab(55.14% 0.2048 -0.0875)
OKLCHoklch(55.14% 0.223 336.9)
XYZxyz(27.3831, 14.1932, 34.5483)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB21A0 #21BB3C
analogous
#8921BB #BB21A0 #BB2153
triadic
#BB21A0 #A0BB21 #21A0BB
tetradic
#BB21A0 #BB8921 #21BB3C #2153BB
square
#BB21A0 #BB8921 #21BB3C #2153BB
split-complementary
#BB21A0 #53BB21 #21BB89
monochromatic
#530F47 #871873 #BB21A0 #DD3DC1 #E671D1

Accessibility & contrast

On white

5.47
#BB21A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BB21A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB21A0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB21A0#FFFFFF#000000##FFFFFF
##BB21A01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA3
Deuteranopia (green-blind)
#5F719D
Tritanopia (blue-blind)
#C52E61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb21a0;
/* rgb */ color: rgb(187, 33, 160);
/* oklch */ color: oklch(55.1% 0.223 336.9);
Tailwind
colors: {
  custom: {
    50: '#d471bc',
    500: '#bb21a0',
    950: '#000000',
  },
}
SCSS
$custom: #bb21a0;
$custom-light: #d471bc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb21a0",
  "rgb": {
    "r": 187,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 310.519,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55136,
    "c": 0.22274,
    "h": 336.9
  },
  "luminance": 0.14191
}

Semantic roles & 50–950 ramp

primary
#BB21A0
secondary
#6BCC7C
accent
#ED5A3B
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB21A0

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

Preview Lab → · Contrast checker → · Palette generator →

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