#BB30A2#BB30A2

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

Color values

HEX#BB30A2
RGBrgb(187, 48, 162)
HSLhsl(311, 59%, 46%)
HSVhsv(311, 74%, 73%)
CMYKcmyk(0%, 74.3%, 13.4%, 26.7%)
CIE-LABlab(46.03, 65.61, -30.90)
CIE-LCHlch(46.03, 72.53, 334.78°)
OKLaboklab(56.26% 0.1928 -0.0842)
OKLCHoklch(56.26% 0.21 336.4)
XYZxyz(28.0725, 15.2899, 35.6482)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30A2 #30BB49
analogous
#8E30BB #BB30A2 #BB305C
triadic
#BB30A2 #A2BB30 #30A2BB
tetradic
#BB30A2 #BB8E30 #30BB49 #305CBB
square
#BB30A2 #BB8E30 #30BB49 #305CBB
split-complementary
#BB30A2 #5CBB30 #30BB8E
monochromatic
#5A174E #8A2378 #BB30A2 #D355BD #E086D0

Accessibility & contrast

On white

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

On black

4.06
#BB30A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BB30A2#FFFFFF#000000##FFFFFF
##BB30A21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#C53A66
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb30a2;
/* rgb */ color: rgb(187, 48, 162);
/* oklch */ color: oklch(56.3% 0.210 336.4);
Tailwind
colors: {
  custom: {
    50: '#d376be',
    500: '#bb30a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb30a2;
$custom-light: #d376be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30a2",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 310.791,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.21036,
    "h": 336.4
  },
  "luminance": 0.15287
}

Semantic roles & 50–950 ramp

primary
#BB30A2
secondary
#7DC98B
accent
#E26245
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30A2

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

Preview Lab → · Contrast checker → · Palette generator →

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