#BB2A98#BB2A98

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

Color values

HEX#BB2A98
RGBrgb(187, 42, 152)
HSLhsl(314, 63%, 45%)
HSVhsv(314, 78%, 73%)
CMYKcmyk(0%, 77.5%, 18.7%, 26.7%)
CIE-LABlab(44.93, 66.02, -26.63)
CIE-LCHlch(44.93, 71.19, 338.03°)
OKLaboklab(55.31% 0.1971 -0.072)
OKLCHoklch(55.31% 0.21 339.9)
XYZxyz(26.9898, 14.4904, 31.0752)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2A98 #2ABB4D
analogous
#962ABB #BB2A98 #BB2A4F
triadic
#BB2A98 #98BB2A #2A98BB
tetradic
#BB2A98 #BB962A #2ABB4D #2A4FBB
square
#BB2A98 #BB962A #2ABB4D #2A4FBB
split-complementary
#BB2A98 #4FBB2A #2ABB96
monochromatic
#571447 #891F6F #BB2A98 #D74CB5 #E27DCA

Accessibility & contrast

On white

5.39
#BB2A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BB2A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2A98
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2A98#FFFFFF#000000##FFFFFF
##BB2A981.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9B
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#C62F5F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb2a98;
/* rgb */ color: rgb(187, 42, 152);
/* oklch */ color: oklch(55.3% 0.210 339.9);
Tailwind
colors: {
  custom: {
    50: '#d474b6',
    500: '#bb2a98',
    950: '#000000',
  },
}
SCSS
$custom: #bb2a98;
$custom-light: #d474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2a98",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 314.483,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.20983,
    "h": 339.9
  },
  "luminance": 0.14488
}

Semantic roles & 50–950 ramp

primary
#BB2A98
secondary
#76CA8B
accent
#E66941
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2A98

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

Preview Lab → · Contrast checker → · Palette generator →

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