#BB226E#BB226E

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

Color values

HEX#BB226E
RGBrgb(187, 34, 110)
HSLhsl(330, 69%, 43%)
HSVhsv(330, 82%, 73%)
CMYKcmyk(0%, 81.8%, 41.2%, 26.7%)
CIE-LABlab(42.52, 63.28, -4.58)
CIE-LCHlch(42.52, 63.44, 355.86°)
OKLaboklab(53.02% 0.1948 -0.0112)
OKLCHoklch(53.02% 0.195 356.7)
XYZxyz(23.8818, 12.8378, 15.9692)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB226E #22BB6F
analogous
#BB22BA #BB226E #BB2222
triadic
#BB226E #6EBB22 #226EBB
tetradic
#BB226E #BABB22 #22BB6F #2222BB
square
#BB226E #BABB22 #22BB6F #2222BB
split-complementary
#BB226E #22BB22 #22BABB
monochromatic
#530F31 #871950 #BB226E #DC3E8D #E572AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB226E#FFFFFF#000000##FFFFFF
##BB226E1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#706E6B
Tritanopia (blue-blind)
#CB0046
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bb226e;
/* rgb */ color: rgb(187, 34, 110);
/* oklch */ color: oklch(53.0% 0.195 356.7);
Tailwind
colors: {
  custom: {
    50: '#d56f97',
    500: '#bb226e',
    950: '#000000',
  },
}
SCSS
$custom: #bb226e;
$custom-light: #d56f97;
$custom-dark: #000000;
JSON
{
  "hex": "#bb226e",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 330.196,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53021,
    "c": 0.19514,
    "h": 356.7
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB226E

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

Preview Lab → · Contrast checker → · Palette generator →

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