#BB2C98#BB2C98

#BB2C98 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.5% C 0.208 H 340.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BB2C98
RGBrgb(187, 44, 152)
HSLhsl(315, 62%, 45%)
HSVhsv(315, 76%, 73%)
CMYKcmyk(0%, 76.5%, 18.7%, 26.7%)
CIE-LABlab(45.13, 65.44, -26.31)
CIE-LCHlch(45.13, 70.53, 338.09°)
OKLaboklab(55.46% 0.1953 -0.0711)
OKLCHoklch(55.46% 0.208 340)
XYZxyz(27.0625, 14.6359, 31.0994)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2C98 #2CBB4F
analogous
#962CBB #BB2C98 #BB2C51
triadic
#BB2C98 #98BB2C #2C98BB
tetradic
#BB2C98 #BB962C #2CBB4F #2C51BB
square
#BB2C98 #BB962C #2CBB4F #2C51BB
split-complementary
#BB2C98 #51BB2C #2CBB96
monochromatic
#581547 #892070 #BB2C98 #D64FB5 #E180C9

Accessibility & contrast

On white

5.35
#BB2C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB2C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2C98
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2C98#FFFFFF#000000##FFFFFF
##BB2C981.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#C6315F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb2c98;
/* rgb */ color: rgb(187, 44, 152);
/* oklch */ color: oklch(55.5% 0.208 340.0);
Tailwind
colors: {
  custom: {
    50: '#d474b6',
    500: '#bb2c98',
    950: '#000000',
  },
}
SCSS
$custom: #bb2c98;
$custom-light: #d474b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2c98",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 314.685,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.20788,
    "h": 340
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#BB2C98
secondary
#79CA8D
accent
#E56B43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2C98

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

Preview Lab → · Contrast checker → · Palette generator →

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