#BB226D#BB226D

#BB226D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.195 H 357.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BB226D
RGBrgb(187, 34, 109)
HSLhsl(331, 69%, 43%)
HSVhsv(331, 82%, 73%)
CMYKcmyk(0%, 81.8%, 41.7%, 26.7%)
CIE-LABlab(42.48, 63.18, -4.00)
CIE-LCHlch(42.48, 63.31, 356.37°)
OKLaboklab(52.99% 0.1945 -0.0097)
OKLCHoklch(52.99% 0.195 357.1)
XYZxyz(23.8277, 12.8161, 15.6841)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB226D #22BB70
analogous
#BB22B9 #BB226D #BB2322
triadic
#BB226D #6DBB22 #226DBB
tetradic
#BB226D #B9BB22 #22BB70 #2322BB
square
#BB226D #B9BB22 #22BB70 #2322BB
split-complementary
#BB226D #22BB23 #22B9BB
monochromatic
#530F31 #87194F #BB226D #DC3E8C #E572AB

Accessibility & contrast

On white

5.89
#BB226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#BB226D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB226D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB226D#FFFFFF#000000##FFFFFF
##BB226D1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#706E6A
Tritanopia (blue-blind)
#CB0045
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bb226d;
/* rgb */ color: rgb(187, 34, 109);
/* oklch */ color: oklch(53.0% 0.195 357.1);
Tailwind
colors: {
  custom: {
    50: '#d56f96',
    500: '#bb226d',
    950: '#000000',
  },
}
SCSS
$custom: #bb226d;
$custom-light: #d56f96;
$custom-dark: #000000;
JSON
{
  "hex": "#bb226d",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 330.588,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19476,
    "h": 357.1
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#BB226D
secondary
#6DCC9D
accent
#EC963C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #BB226D

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

Preview Lab → · Contrast checker → · Palette generator →

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