#BB226F#BB226F

#BB226F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.196 H 356.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB226F
RGBrgb(187, 34, 111)
HSLhsl(330, 69%, 43%)
HSVhsv(330, 82%, 73%)
CMYKcmyk(0%, 81.8%, 40.6%, 26.7%)
CIE-LABlab(42.55, 63.38, -5.15)
CIE-LCHlch(42.55, 63.58, 355.35°)
OKLaboklab(53.06% 0.1951 -0.0128)
OKLCHoklch(53.06% 0.196 356.3)
XYZxyz(23.9366, 12.8597, 16.2575)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB226F #22BB6E
analogous
#BA22BB #BB226F #BB2222
triadic
#BB226F #6FBB22 #226FBB
tetradic
#BB226F #BBBA22 #22BB6E #2222BB
square
#BB226F #BBBA22 #22BB6E #2222BB
split-complementary
#BB226F #22BB22 #22BBBA
monochromatic
#530F32 #871950 #BB226F #DC3E8E #E572AC

Accessibility & contrast

On white

5.88
#BB226F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BB226F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB226F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB226F#FFFFFF#000000##FFFFFF
##BB226F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#6F6F6C
Tritanopia (blue-blind)
#CB0046
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bb226f;
/* rgb */ color: rgb(187, 34, 111);
/* oklch */ color: oklch(53.1% 0.196 356.3);
Tailwind
colors: {
  custom: {
    50: '#d56f98',
    500: '#bb226f',
    950: '#000000',
  },
}
SCSS
$custom: #bb226f;
$custom-light: #d56f98;
$custom-dark: #000000;
JSON
{
  "hex": "#bb226f",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 329.804,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.19554,
    "h": 356.3
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#BB226F
secondary
#6DCC9C
accent
#EC933C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB226F

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

Preview Lab → · Contrast checker → · Palette generator →

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