#BB52A7#BB52A7

#BB52A7 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.169 H 335.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB52A7
RGBrgb(187, 82, 167)
HSLhsl(311, 44%, 53%)
HSVhsv(311, 56%, 73%)
CMYKcmyk(0%, 56.1%, 10.7%, 26.7%)
CIE-LABlab(51.14, 52.85, -25.89)
CIE-LCHlch(51.14, 58.86, 333.90°)
OKLaboklab(60.06% 0.1535 -0.0702)
OKLCHoklch(60.06% 0.169 335.4)
XYZxyz(30.4860, 19.3917, 38.6890)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52A7 #52BB66
analogous
#9B52BB #BB52A7 #BB5272
triadic
#BB52A7 #A7BB52 #52A7BB
tetradic
#BB52A7 #BB9B52 #52BB66 #5272BB
square
#BB52A7 #BB9B52 #52BB66 #5272BB
split-complementary
#BB52A7 #72BB52 #52BB9B
monochromatic
#69295D #953B84 #BB52A7 #CC7EBD #DEAAD4

Accessibility & contrast

On white

4.31
#BB52A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BB52A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52A7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52A7#FFFFFF#000000##000000
##BB52A71.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#C35875
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb52a7;
/* rgb */ color: rgb(187, 82, 167);
/* oklch */ color: oklch(60.1% 0.169 335.4);
Tailwind
colors: {
  custom: {
    50: '#d288c1',
    500: '#bb52a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb52a7;
$custom-light: #d288c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52a7",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 311.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.16881,
    "h": 335.4
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#BB52A7
secondary
#9ECBA6
accent
#D36D54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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