#BB52A2#BB52A2

#BB52A2 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.8% C 0.165 H 337.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BB52A2
RGBrgb(187, 82, 162)
HSLhsl(314, 44%, 53%)
HSVhsv(314, 56%, 73%)
CMYKcmyk(0%, 56.1%, 13.4%, 26.7%)
CIE-LABlab(50.93, 52.05, -23.28)
CIE-LCHlch(50.93, 57.02, 335.90°)
OKLaboklab(59.84% 0.1525 -0.0628)
OKLCHoklch(59.84% 0.165 337.6)
XYZxyz(30.0327, 19.2103, 36.3016)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52A2 #52BB6B
analogous
#A052BB #BB52A2 #BB526D
triadic
#BB52A2 #A2BB52 #52A2BB
tetradic
#BB52A2 #BBA052 #52BB6B #526DBB
square
#BB52A2 #BBA052 #52BB6B #526DBB
split-complementary
#BB52A2 #6DBB52 #52BBA0
monochromatic
#69295A #953B80 #BB52A2 #CC7EBA #DEAAD1

Accessibility & contrast

On white

4.34
#BB52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#BB52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52A2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52A2#FFFFFF#000000##000000
##BB52A21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#C45673
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb52a2;
/* rgb */ color: rgb(187, 82, 162);
/* oklch */ color: oklch(59.8% 0.165 337.6);
Tailwind
colors: {
  custom: {
    50: '#d288bd',
    500: '#bb52a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb52a2;
$custom-light: #d288bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52a2",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 314.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.16497,
    "h": 337.6
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

primary
#BB52A2
secondary
#9ECBA8
accent
#D37354
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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