#BB5898#BB5898

#BB5898 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.2% C 0.148 H 342.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB5898
RGBrgb(187, 88, 152)
HSLhsl(321, 42%, 54%)
HSVhsv(321, 53%, 73%)
CMYKcmyk(0%, 52.9%, 18.7%, 26.7%)
CIE-LABlab(51.63, 47.62, -16.32)
CIE-LCHlch(51.63, 50.34, 341.08°)
OKLaboklab(60.22% 0.1416 -0.0434)
OKLCHoklch(60.22% 0.148 342.9)
XYZxyz(29.6513, 19.8136, 31.9624)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5898 #58BB7B
analogous
#AD58BB #BB5898 #BB5867
triadic
#BB5898 #98BB58 #5898BB
tetradic
#BB5898 #BBAD58 #58BB7B #5867BB
square
#BB5898 #BBAD58 #58BB7B #5867BB
split-complementary
#BB5898 #67BB58 #58BBAD
monochromatic
#6C2C56 #983E78 #BB5898 #CD83B3 #DEAFCE

Accessibility & contrast

On white

4.23
#BB5898 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BB5898 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5898
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5898#FFFFFF#000000##000000
##BB58981.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#7A8195
Tritanopia (blue-blind)
#C55871
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb5898;
/* rgb */ color: rgb(187, 88, 152);
/* oklch */ color: oklch(60.2% 0.148 342.9);
Tailwind
colors: {
  custom: {
    50: '#d28bb6',
    500: '#bb5898',
    950: '#000000',
  },
}
SCSS
$custom: #bb5898;
$custom-light: #d28bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5898",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 321.212,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.1481,
    "h": 342.9
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#BB5898
secondary
#A2CDB1
accent
#D28256
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5898

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

Preview Lab → · Contrast checker → · Palette generator →

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