#BB5795#BB5795

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

Color values

HEX#BB5795
RGBrgb(187, 87, 149)
HSLhsl(323, 42%, 54%)
HSVhsv(323, 53%, 73%)
CMYKcmyk(0%, 53.5%, 20.3%, 26.7%)
CIE-LABlab(51.33, 47.66, -15.00)
CIE-LCHlch(51.33, 49.96, 342.53°)
OKLaboklab(59.97% 0.1423 -0.0398)
OKLCHoklch(59.97% 0.148 344.4)
XYZxyz(29.3272, 19.5535, 30.6576)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5795 #57BB7D
analogous
#AF57BB #BB5795 #BB5763
triadic
#BB5795 #95BB57 #5795BB
tetradic
#BB5795 #BBAF57 #57BB7D #5763BB
square
#BB5795 #BBAF57 #57BB7D #5763BB
split-complementary
#BB5795 #63BB57 #57BBAF
monochromatic
#6C2C54 #973D75 #BB5795 #CD83B0 #DEAECC

Accessibility & contrast

On white

4.28
#BB5795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BB5795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5795
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5795#FFFFFF#000000##000000
##BB57951.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7097
Deuteranopia (green-blind)
#7A8092
Tritanopia (blue-blind)
#C6566F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb5795;
/* rgb */ color: rgb(187, 87, 149);
/* oklch */ color: oklch(60.0% 0.148 344.4);
Tailwind
colors: {
  custom: {
    50: '#d28ab4',
    500: '#bb5795',
    950: '#000000',
  },
}
SCSS
$custom: #bb5795;
$custom-light: #d28ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5795",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 322.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.14772,
    "h": 344.4
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#BB5795
secondary
#A2CCB2
accent
#D28556
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BB5795

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

Preview Lab → · Contrast checker → · Palette generator →

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