#BB2EA1#BB2EA1

#BB2EA1 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.1% C 0.212 H 336.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB2EA1
RGBrgb(187, 46, 161)
HSLhsl(311, 61%, 46%)
HSVhsv(311, 75%, 73%)
CMYKcmyk(0%, 75.4%, 13.9%, 26.7%)
CIE-LABlab(45.76, 66.09, -30.72)
CIE-LCHlch(45.76, 72.88, 335.07°)
OKLaboklab(56.05% 0.1945 -0.0837)
OKLCHoklch(56.05% 0.212 336.7)
XYZxyz(27.9040, 15.0946, 35.1553)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EA1 #2EBB48
analogous
#8E2EBB #BB2EA1 #BB2E5A
triadic
#BB2EA1 #A1BB2E #2EA1BB
tetradic
#BB2EA1 #BB8E2E #2EBB48 #2E5ABB
square
#BB2EA1 #BB8E2E #2EBB48 #2E5ABB
split-complementary
#BB2EA1 #5ABB2E #2EBB8E
monochromatic
#59164C #8A2277 #BB2EA1 #D452BC #E083CF

Accessibility & contrast

On white

5.23
#BB2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EA1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EA1#FFFFFF#000000##FFFFFF
##BB2EA11.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA4
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#C53865
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ea1;
/* rgb */ color: rgb(187, 46, 161);
/* oklch */ color: oklch(56.1% 0.212 336.7);
Tailwind
colors: {
  custom: {
    50: '#d376bd',
    500: '#bb2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ea1;
$custom-light: #d376bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ea1",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 311.064,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.21176,
    "h": 336.7
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#BB2EA1
secondary
#7BCA8A
accent
#E46244
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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