#BB2D8A#BB2D8A

#BB2D8A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.198 H 345.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB2D8A
RGBrgb(187, 45, 138)
HSLhsl(321, 61%, 45%)
HSVhsv(321, 76%, 73%)
CMYKcmyk(0%, 75.9%, 26.2%, 26.7%)
CIE-LABlab(44.63, 63.32, -18.62)
CIE-LCHlch(44.63, 66.00, 343.61°)
OKLaboklab(54.9% 0.1921 -0.0495)
OKLCHoklch(54.9% 0.198 345.6)
XYZxyz(26.0205, 14.2794, 25.4257)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2D8A #2DBB5E
analogous
#A52DBB #BB2D8A #BB2D43
triadic
#BB2D8A #8ABB2D #2D8ABB
tetradic
#BB2D8A #BBA52D #2DBB5E #2D43BB
square
#BB2D8A #BBA52D #2DBB5E #2D43BB
split-complementary
#BB2D8A #43BB2D #2DBBA5
monochromatic
#581541 #8A2166 #BB2D8A #D550A7 #E182C0

Accessibility & contrast

On white

5.45
#BB2D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BB2D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2D8A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2D8A#FFFFFF#000000##FFFFFF
##BB2D8A1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#C82A58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb2d8a;
/* rgb */ color: rgb(187, 45, 138);
/* oklch */ color: oklch(54.9% 0.198 345.6);
Tailwind
colors: {
  custom: {
    50: '#d474ac',
    500: '#bb2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #bb2d8a;
$custom-light: #d474ac;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2d8a",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 320.704,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.19839,
    "h": 345.6
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#BB2D8A
secondary
#7ACA96
accent
#E47B43
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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