#BB30A1#BB30A1

#BB30A1 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.210 H 336.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB30A1
RGBrgb(187, 48, 161)
HSLhsl(311, 59%, 46%)
HSVhsv(311, 74%, 73%)
CMYKcmyk(0%, 74.3%, 13.9%, 26.7%)
CIE-LABlab(45.98, 65.47, -30.38)
CIE-LCHlch(45.98, 72.17, 335.11°)
OKLaboklab(56.21% 0.1927 -0.0827)
OKLCHoklch(56.21% 0.21 336.8)
XYZxyz(27.9840, 15.2545, 35.1819)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A1 #30BB4A
analogous
#8F30BB #BB30A1 #BB305B
triadic
#BB30A1 #A1BB30 #30A1BB
tetradic
#BB30A1 #BB8F30 #30BB4A #305BBB
square
#BB30A1 #BB8F30 #30BB4A #305BBB
split-complementary
#BB30A1 #5BBB30 #30BB8F
monochromatic
#5A174D #8A2377 #BB30A1 #D355BC #E086CF

Accessibility & contrast

On white

5.18
#BB30A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB30A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30A1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30A1#FFFFFF#000000##FFFFFF
##BB30A11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA4
Deuteranopia (green-blind)
#64749E
Tritanopia (blue-blind)
#C53965
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb30a1;
/* rgb */ color: rgb(187, 48, 161);
/* oklch */ color: oklch(56.2% 0.210 336.8);
Tailwind
colors: {
  custom: {
    50: '#d376bd',
    500: '#bb30a1',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a1;
$custom-light: #d376bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a1",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 311.223,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.20968,
    "h": 336.8
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#BB30A1
secondary
#7DC98C
accent
#E26345
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A1

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

Preview Lab → · Contrast checker → · Palette generator →

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