#BB51A2#BB51A2

#BB51A2 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.7% C 0.167 H 337.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BB51A2
RGBrgb(187, 81, 162)
HSLhsl(314, 44%, 53%)
HSVhsv(314, 57%, 73%)
CMYKcmyk(0%, 56.7%, 13.4%, 26.7%)
CIE-LABlab(50.76, 52.52, -23.55)
CIE-LCHlch(50.76, 57.56, 335.85°)
OKLaboklab(59.71% 0.1539 -0.0636)
OKLCHoklch(59.71% 0.167 337.6)
XYZxyz(29.9579, 19.0606, 36.2766)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51A2 #51BB6A
analogous
#9F51BB #BB51A2 #BB516D
triadic
#BB51A2 #A2BB51 #51A2BB
tetradic
#BB51A2 #BB9F51 #51BB6A #516DBB
square
#BB51A2 #BB9F51 #51BB6A #516DBB
split-complementary
#BB51A2 #6DBB51 #51BB9F
monochromatic
#69295A #953A7F #BB51A2 #CC7DBA #DDA9D1

Accessibility & contrast

On white

4.36
#BB51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#BB51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51A2#FFFFFF#000000##000000
##BB51A21.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb51a2;
/* rgb */ color: rgb(187, 81, 162);
/* oklch */ color: oklch(59.7% 0.167 337.6);
Tailwind
colors: {
  custom: {
    50: '#d287bd',
    500: '#bb51a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb51a2;
$custom-light: #d287bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51a2",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 314.151,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5971,
    "c": 0.16653,
    "h": 337.6
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#BB51A2
secondary
#9DCBA8
accent
#D47254
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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