#BB52A4#BB52A4

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

Color values

HEX#BB52A4
RGBrgb(187, 82, 164)
HSLhsl(313, 44%, 53%)
HSVhsv(313, 56%, 73%)
CMYKcmyk(0%, 56.1%, 12.3%, 26.7%)
CIE-LABlab(51.02, 52.37, -24.33)
CIE-LCHlch(51.02, 57.75, 335.08°)
OKLaboklab(59.93% 0.1529 -0.0658)
OKLCHoklch(59.93% 0.166 336.7)
XYZxyz(30.2119, 19.2820, 37.2453)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52A4 #52BB69
analogous
#9D52BB #BB52A4 #BB526F
triadic
#BB52A4 #A4BB52 #52A4BB
tetradic
#BB52A4 #BB9D52 #52BB69 #526FBB
square
#BB52A4 #BB9D52 #52BB69 #526FBB
split-complementary
#BB52A4 #6FBB52 #52BB9D
monochromatic
#69295B #953B81 #BB52A4 #CC7EBB #DEAAD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB52A4#FFFFFF#000000##000000
##BB52A41.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)
#546FA7
Deuteranopia (green-blind)
#737FA1
Tritanopia (blue-blind)
#C45774
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb52a4;
/* rgb */ color: rgb(187, 82, 164);
/* oklch */ color: oklch(59.9% 0.166 336.7);
Tailwind
colors: {
  custom: {
    50: '#d288bf',
    500: '#bb52a4',
    950: '#000000',
  },
}
SCSS
$custom: #bb52a4;
$custom-light: #d288bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52a4",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 313.143,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.16648,
    "h": 336.7
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#BB52A4
secondary
#9ECBA8
accent
#D37054
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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