#BB5FA2#BB5FA2

#BB5FA2 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.6% C 0.144 H 338.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB5FA2
RGBrgb(187, 95, 162)
HSLhsl(316, 40%, 55%)
HSVhsv(316, 49%, 73%)
CMYKcmyk(0%, 49.2%, 13.4%, 26.7%)
CIE-LABlab(53.34, 45.69, -19.58)
CIE-LCHlch(53.34, 49.71, 336.80°)
OKLaboklab(61.63% 0.1338 -0.0526)
OKLCHoklch(61.63% 0.144 338.5)
XYZxyz(31.1076, 21.3600, 36.6599)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA2 #5FBB78
analogous
#A65FBB #BB5FA2 #BB5F74
triadic
#BB5FA2 #A2BB5F #5FA2BB
tetradic
#BB5FA2 #BBA65F #5FBB78 #5F74BB
square
#BB5FA2 #BBA65F #5FBB78 #5F74BB
split-complementary
#BB5FA2 #74BB5F #5FBBA6
monochromatic
#70305F #9B4283 #BB5FA2 #CD8ABB #E0B5D4

Accessibility & contrast

On white

3.98
#BB5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA2#FFFFFF#000000##000000
##BB5FA21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#7B859F
Tritanopia (blue-blind)
#C46279
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5fa2;
/* rgb */ color: rgb(187, 95, 162);
/* oklch */ color: oklch(61.6% 0.144 338.5);
Tailwind
colors: {
  custom: {
    50: '#d18fbd',
    500: '#bb5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa2;
$custom-light: #d18fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa2",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 316.304,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61627,
    "c": 0.14372,
    "h": 338.5
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#BB5FA2
secondary
#A8CEB2
accent
#D07858
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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