#BB5397#BB5397

#BB5397 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.5% C 0.155 H 342.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB5397
RGBrgb(187, 83, 151)
HSLhsl(321, 43%, 53%)
HSVhsv(321, 56%, 73%)
CMYKcmyk(0%, 55.6%, 19.3%, 26.7%)
CIE-LABlab(50.67, 49.89, -17.18)
CIE-LCHlch(50.67, 52.77, 341.00°)
OKLaboklab(59.5% 0.1486 -0.0458)
OKLCHoklch(59.5% 0.155 342.9)
XYZxyz(29.1733, 18.9881, 31.4007)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5397 #53BB77
analogous
#AB53BB #BB5397 #BB5363
triadic
#BB5397 #97BB53 #5397BB
tetradic
#BB5397 #BBAB53 #53BB77 #5363BB
square
#BB5397 #BBAB53 #53BB77 #5363BB
split-complementary
#BB5397 #63BB53 #53BBAB
monochromatic
#6A2A54 #963B76 #BB5397 #CC7FB2 #DEABCC

Accessibility & contrast

On white

4.38
#BB5397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5397
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5397#FFFFFF#000000##000000
##BB53971.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#C6536E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5397;
/* rgb */ color: rgb(187, 83, 151);
/* oklch */ color: oklch(59.5% 0.155 342.9);
Tailwind
colors: {
  custom: {
    50: '#d288b5',
    500: '#bb5397',
    950: '#000000',
  },
}
SCSS
$custom: #bb5397;
$custom-light: #d288b5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5397",
  "rgb": {
    "r": 187,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 320.769,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.15549,
    "h": 342.9
  },
  "luminance": 0.18986
}

Semantic roles & 50–950 ramp

primary
#BB5397
secondary
#9ECBAE
accent
#D38055
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5397

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

Preview Lab → · Contrast checker → · Palette generator →

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