#B0226A#B0226A

#B0226A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.185 H 355.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B0226A
RGBrgb(176, 34, 106)
HSLhsl(330, 68%, 41%)
HSVhsv(330, 81%, 69%)
CMYKcmyk(0%, 80.7%, 39.8%, 31%)
CIE-LABlab(40.27, 60.09, -5.64)
CIE-LCHlch(40.27, 60.35, 354.64°)
OKLaboklab(50.96% 0.1849 -0.0141)
OKLCHoklch(50.96% 0.185 355.6)
XYZxyz(21.0796, 11.4175, 14.7266)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0226A #22B068
analogous
#AF22B0 #B0226A #B02223
triadic
#B0226A #6AB022 #226AB0
tetradic
#B0226A #B0AF22 #22B068 #2223B0
square
#B0226A #B0AF22 #22B068 #2223B0
split-complementary
#B0226A #23B022 #22B0AF
monochromatic
#490E2C #7D184B #B0226A #D83789 #E26AA7

Accessibility & contrast

On white

6.40
#B0226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B0226A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0226A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0226A#FFFFFF#000000##FFFFFF
##B0226A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#696867
Tritanopia (blue-blind)
#BF0743
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0226a;
/* rgb */ color: rgb(176, 34, 106);
/* oklch */ color: oklch(51.0% 0.185 355.6);
Tailwind
colors: {
  custom: {
    50: '#cd6e94',
    500: '#b0226a',
    950: '#000000',
  },
}
SCSS
$custom: #b0226a;
$custom-light: #cd6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#b0226a",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 329.577,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.18543,
    "h": 355.6
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#B0226A
secondary
#66C896
accent
#EA933D
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0226A

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

Preview Lab → · Contrast checker → · Palette generator →

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