#BB5CA2#BB5CA2

#BB5CA2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.2% C 0.149 H 338.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB5CA2
RGBrgb(187, 92, 162)
HSLhsl(316, 41%, 55%)
HSVhsv(316, 51%, 73%)
CMYKcmyk(0%, 50.8%, 13.4%, 26.7%)
CIE-LABlab(52.76, 47.20, -20.47)
CIE-LCHlch(52.76, 51.45, 336.56°)
OKLaboklab(61.2% 0.1382 -0.055)
OKLCHoklch(61.2% 0.149 338.3)
XYZxyz(30.8425, 20.8299, 36.5715)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CA2 #5CBB75
analogous
#A45CBB #BB5CA2 #BB5C73
triadic
#BB5CA2 #A2BB5C #5CA2BB
tetradic
#BB5CA2 #BBA45C #5CBB75 #5C73BB
square
#BB5CA2 #BBA45C #5CBB75 #5C73BB
split-complementary
#BB5CA2 #73BB5C #5CBBA4
monochromatic
#6F2E5E #9A4082 #BB5CA2 #CD87BB #DFB2D3

Accessibility & contrast

On white

4.07
#BB5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB5CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CA2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CA2#FFFFFF#000000##000000
##BB5CA21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F75A4
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#C45F78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5ca2;
/* rgb */ color: rgb(187, 92, 162);
/* oklch */ color: oklch(61.2% 0.149 338.3);
Tailwind
colors: {
  custom: {
    50: '#d28ebd',
    500: '#bb5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ca2;
$custom-light: #d28ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ca2",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 315.789,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.14876,
    "h": 338.3
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#BB5CA2
secondary
#A5CDB0
accent
#D17757
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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