#BB2FA3#BB2FA3

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

Color values

HEX#BB2FA3
RGBrgb(187, 47, 163)
HSLhsl(310, 60%, 46%)
HSVhsv(310, 75%, 73%)
CMYKcmyk(0%, 74.9%, 12.8%, 26.7%)
CIE-LABlab(45.97, 66.07, -31.59)
CIE-LCHlch(45.97, 73.23, 334.45°)
OKLaboklab(56.23% 0.1938 -0.0862)
OKLCHoklch(56.23% 0.212 336)
XYZxyz(28.1213, 15.2447, 36.1047)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2FA3 #2FBB47
analogous
#8D2FBB #BB2FA3 #BB2F5D
triadic
#BB2FA3 #A3BB2F #2FA3BB
tetradic
#BB2FA3 #BB8D2F #2FBB47 #2F5DBB
square
#BB2FA3 #BB8D2F #2FBB47 #2F5DBB
split-complementary
#BB2FA3 #5DBB2F #2FBB8D
monochromatic
#59164E #8A2378 #BB2FA3 #D453BE #E084D0

Accessibility & contrast

On white

5.19
#BB2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2FA3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2FA3#FFFFFF#000000##FFFFFF
##BB2FA31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#6374A0
Tritanopia (blue-blind)
#C53966
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2fa3;
/* rgb */ color: rgb(187, 47, 163);
/* oklch */ color: oklch(56.2% 0.212 336.0);
Tailwind
colors: {
  custom: {
    50: '#d376be',
    500: '#bb2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #bb2fa3;
$custom-light: #d376be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2fa3",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 310.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.21209,
    "h": 336
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#BB2FA3
secondary
#7CC98A
accent
#E36045
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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