#BB2FA2#BB2FA2

#BB2FA2 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.2% C 0.211 H 336.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB2FA2
RGBrgb(187, 47, 162)
HSLhsl(311, 60%, 46%)
HSVhsv(311, 75%, 73%)
CMYKcmyk(0%, 74.9%, 13.4%, 26.7%)
CIE-LABlab(45.92, 65.93, -31.07)
CIE-LCHlch(45.92, 72.88, 334.77°)
OKLaboklab(56.18% 0.1937 -0.0847)
OKLCHoklch(56.18% 0.211 336.4)
XYZxyz(28.0321, 15.2090, 35.6347)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA2 #2FBB48
analogous
#8E2FBB #BB2FA2 #BB2F5C
triadic
#BB2FA2 #A2BB2F #2FA2BB
tetradic
#BB2FA2 #BB8E2F #2FBB48 #2F5CBB
square
#BB2FA2 #BB8E2F #2FBB48 #2F5CBB
split-complementary
#BB2FA2 #5CBB2F #2FBB8E
monochromatic
#59164D #8A2378 #BB2FA2 #D453BD #E084D0

Accessibility & contrast

On white

5.20
#BB2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2FA2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA2#FFFFFF#000000##FFFFFF
##BB2FA21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#C53966
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa2;
/* rgb */ color: rgb(187, 47, 162);
/* oklch */ color: oklch(56.2% 0.211 336.4);
Tailwind
colors: {
  custom: {
    50: '#d376be',
    500: '#bb2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa2;
$custom-light: #d376be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa2",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 310.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.21141,
    "h": 336.4
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#BB2FA2
secondary
#7CC98A
accent
#E36145
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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