#BB52A5#BB52A5

#BB52A5 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.167 H 336.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB52A5
RGBrgb(187, 82, 165)
HSLhsl(313, 44%, 53%)
HSVhsv(313, 56%, 73%)
CMYKcmyk(0%, 56.1%, 11.8%, 26.7%)
CIE-LABlab(51.06, 52.53, -24.85)
CIE-LCHlch(51.06, 58.11, 334.68°)
OKLaboklab(59.97% 0.1531 -0.0673)
OKLCHoklch(59.97% 0.167 336.3)
XYZxyz(30.3026, 19.3183, 37.7228)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52A5 #52BB68
analogous
#9C52BB #BB52A5 #BB5271
triadic
#BB52A5 #A5BB52 #52A5BB
tetradic
#BB52A5 #BB9C52 #52BB68 #5271BB
square
#BB52A5 #BB9C52 #52BB68 #5271BB
split-complementary
#BB52A5 #71BB52 #52BB9C
monochromatic
#69295C #953B82 #BB52A5 #CC7EBC #DEAAD3

Accessibility & contrast

On white

4.32
#BB52A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BB52A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52A5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52A5#FFFFFF#000000##000000
##BB52A51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370A8
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#C45774
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb52a5;
/* rgb */ color: rgb(187, 82, 165);
/* oklch */ color: oklch(60.0% 0.167 336.3);
Tailwind
colors: {
  custom: {
    50: '#d288c0',
    500: '#bb52a5',
    950: '#000000',
  },
}
SCSS
$custom: #bb52a5;
$custom-light: #d288c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52a5",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 312.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.16725,
    "h": 336.3
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#BB52A5
secondary
#9ECBA7
accent
#D36F54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52A5

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

Preview Lab → · Contrast checker → · Palette generator →

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