#BB5DAB#BB5DAB

#BB5DAB is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.154 H 334.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB5DAB
RGBrgb(187, 93, 171)
HSLhsl(310, 41%, 55%)
HSVhsv(310, 50%, 73%)
CMYKcmyk(0%, 50.3%, 8.6%, 26.7%)
CIE-LABlab(53.32, 48.19, -24.87)
CIE-LCHlch(53.32, 54.23, 332.70°)
OKLaboklab(61.72% 0.1388 -0.0674)
OKLCHoklch(61.72% 0.154 334.1)
XYZxyz(31.7585, 21.3359, 40.9657)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5DAB #5DBB6D
analogous
#9C5DBB #BB5DAB #BB5D7C
triadic
#BB5DAB #ABBB5D #5DABBB
tetradic
#BB5DAB #BB9C5D #5DBB6D #5D7CBB
square
#BB5DAB #BB9C5D #5DBB6D #5D7CBB
split-complementary
#BB5DAB #7CBB5D #5DBB9C
monochromatic
#6F2F64 #9A418B #BB5DAB #CD88C1 #DFB3D8

Accessibility & contrast

On white

3.99
#BB5DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB5DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5DAB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5DAB#FFFFFF#000000##000000
##BB5DAB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AE
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#C3627C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5dab;
/* rgb */ color: rgb(187, 93, 171);
/* oklch */ color: oklch(61.7% 0.154 334.1);
Tailwind
colors: {
  custom: {
    50: '#d18ec4',
    500: '#bb5dab',
    950: '#000000',
  },
}
SCSS
$custom: #bb5dab;
$custom-light: #d18ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5dab",
  "rgb": {
    "r": 187,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 310.213,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61725,
    "c": 0.1543,
    "h": 334.1
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#BB5DAB
secondary
#A6CEAD
accent
#D16C57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D12
muted
#837D81

Preview Lab

Preview with #BB5DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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