#BB2A97#BB2A97

#BB2A97 is a mid, highly saturated pink. Relative luminance 0.145; OKLCH L 55.3% C 0.209 H 340.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BB2A97
RGBrgb(187, 42, 151)
HSLhsl(315, 63%, 45%)
HSVhsv(315, 78%, 73%)
CMYKcmyk(0%, 77.5%, 19.3%, 26.7%)
CIE-LABlab(44.88, 65.89, -26.10)
CIE-LCHlch(44.88, 70.87, 338.39°)
OKLaboklab(55.27% 0.197 -0.0705)
OKLCHoklch(55.27% 0.209 340.3)
XYZxyz(26.9082, 14.4578, 30.6457)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2A97 #2ABB4E
analogous
#972ABB #BB2A97 #BB2A4E
triadic
#BB2A97 #97BB2A #2A97BB
tetradic
#BB2A97 #BB972A #2ABB4E #2A4EBB
square
#BB2A97 #BB972A #2ABB4E #2A4EBB
split-complementary
#BB2A97 #4EBB2A #2ABB97
monochromatic
#571446 #891F6F #BB2A97 #D74CB4 #E27DC9

Accessibility & contrast

On white

5.40
#BB2A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BB2A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2A97
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2A97#FFFFFF#000000##FFFFFF
##BB2A971.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#667294
Tritanopia (blue-blind)
#C62F5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb2a97;
/* rgb */ color: rgb(187, 42, 151);
/* oklch */ color: oklch(55.3% 0.209 340.3);
Tailwind
colors: {
  custom: {
    50: '#d474b6',
    500: '#bb2a97',
    950: '#000000',
  },
}
SCSS
$custom: #bb2a97;
$custom-light: #d474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2a97",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 314.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.2092,
    "h": 340.3
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#BB2A97
secondary
#76CA8B
accent
#E66A41
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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