#BB5EA2#BB5EA2

#BB5EA2 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.5% C 0.145 H 338.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB5EA2
RGBrgb(187, 94, 162)
HSLhsl(316, 41%, 55%)
HSVhsv(316, 50%, 73%)
CMYKcmyk(0%, 49.7%, 13.4%, 26.7%)
CIE-LABlab(53.15, 46.19, -19.88)
CIE-LCHlch(53.15, 50.29, 336.72°)
OKLaboklab(61.48% 0.1353 -0.0534)
OKLCHoklch(61.48% 0.145 338.5)
XYZxyz(31.0181, 21.1810, 36.6300)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EA2 #5EBB77
analogous
#A55EBB #BB5EA2 #BB5E74
triadic
#BB5EA2 #A2BB5E #5EA2BB
tetradic
#BB5EA2 #BBA55E #5EBB77 #5E74BB
square
#BB5EA2 #BBA55E #5EBB77 #5E74BB
split-complementary
#BB5EA2 #74BB5E #5EBBA5
monochromatic
#702F5E #9B4183 #BB5EA2 #CD89BB #DFB4D4

Accessibility & contrast

On white

4.01
#BB5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EA2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EA2#FFFFFF#000000##000000
##BB5EA21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#C46179
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ea2;
/* rgb */ color: rgb(187, 94, 162);
/* oklch */ color: oklch(61.5% 0.145 338.5);
Tailwind
colors: {
  custom: {
    50: '#d18fbd',
    500: '#bb5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ea2;
$custom-light: #d18fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ea2",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 316.129,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.14541,
    "h": 338.5
  },
  "luminance": 0.21179
}

Semantic roles & 50–950 ramp

primary
#BB5EA2
secondary
#A7CEB1
accent
#D07857
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BB5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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