#BB5DA8#BB5DA8

#BB5DA8 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.6% C 0.152 H 335.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB5DA8
RGBrgb(187, 93, 168)
HSLhsl(312, 41%, 55%)
HSVhsv(312, 50%, 73%)
CMYKcmyk(0%, 50.3%, 10.2%, 26.7%)
CIE-LABlab(53.19, 47.68, -23.32)
CIE-LCHlch(53.19, 53.08, 333.94°)
OKLaboklab(61.59% 0.1381 -0.063)
OKLCHoklch(61.59% 0.152 335.5)
XYZxyz(31.4758, 21.2228, 39.4768)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DA8 #5DBB70
analogous
#9F5DBB #BB5DA8 #BB5D79
triadic
#BB5DA8 #A8BB5D #5DA8BB
tetradic
#BB5DA8 #BB9F5D #5DBB70 #5D79BB
square
#BB5DA8 #BB9F5D #5DBB70 #5D79BB
split-complementary
#BB5DA8 #79BB5D #5DBB9F
monochromatic
#6F2F62 #9A4188 #BB5DA8 #CD88BF #DFB3D6

Accessibility & contrast

On white

4.00
#BB5DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB5DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DA8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DA8#FFFFFF#000000##000000
##BB5DA81.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D76AB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#C3617B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5da8;
/* rgb */ color: rgb(187, 93, 168);
/* oklch */ color: oklch(61.6% 0.152 335.5);
Tailwind
colors: {
  custom: {
    50: '#d18ec2',
    500: '#bb5da8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5da8;
$custom-light: #d18ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5da8",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 312.128,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.15183,
    "h": 335.5
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#BB5DA8
secondary
#A6CEAE
accent
#D17057
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BB5DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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