#BB5797#BB5797

#BB5797 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.0% C 0.149 H 343.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB5797
RGBrgb(187, 87, 151)
HSLhsl(322, 42%, 54%)
HSVhsv(322, 53%, 73%)
CMYKcmyk(0%, 53.5%, 19.3%, 26.7%)
CIE-LABlab(51.40, 47.96, -16.07)
CIE-LCHlch(51.40, 50.58, 341.47°)
OKLaboklab(60.05% 0.1428 -0.0427)
OKLCHoklch(60.05% 0.149 343.3)
XYZxyz(29.4883, 19.6179, 31.5057)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5797 #57BB7B
analogous
#AD57BB #BB5797 #BB5765
triadic
#BB5797 #97BB57 #5797BB
tetradic
#BB5797 #BBAD57 #57BB7B #5765BB
square
#BB5797 #BBAD57 #57BB7B #5765BB
split-complementary
#BB5797 #65BB57 #57BBAD
monochromatic
#6C2C55 #973D77 #BB5797 #CD83B2 #DEAECD

Accessibility & contrast

On white

4.27
#BB5797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5797
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5797#FFFFFF#000000##000000
##BB57971.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#7A8194
Tritanopia (blue-blind)
#C55770
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb5797;
/* rgb */ color: rgb(187, 87, 151);
/* oklch */ color: oklch(60.0% 0.149 343.3);
Tailwind
colors: {
  custom: {
    50: '#d28ab5',
    500: '#bb5797',
    950: '#000000',
  },
}
SCSS
$custom: #bb5797;
$custom-light: #d28ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5797",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 321.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.14906,
    "h": 343.3
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5797

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

Preview Lab → · Contrast checker → · Palette generator →

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