#B0226B#B0226B

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

Color values

HEX#B0226B
RGBrgb(176, 34, 107)
HSLhsl(329, 68%, 41%)
HSVhsv(329, 81%, 69%)
CMYKcmyk(0%, 80.7%, 39.2%, 31%)
CIE-LABlab(40.31, 60.19, -6.21)
CIE-LCHlch(40.31, 60.51, 354.11°)
OKLaboklab(51% 0.1852 -0.0156)
OKLCHoklch(51% 0.186 355.2)
XYZxyz(21.1319, 11.4384, 15.0021)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0226B #22B067
analogous
#AE22B0 #B0226B #B02224
triadic
#B0226B #6BB022 #226BB0
tetradic
#B0226B #B0AE22 #22B067 #2224B0
square
#B0226B #B0AE22 #22B067 #2224B0
split-complementary
#B0226B #24B022 #22B0AE
monochromatic
#490E2D #7D184C #B0226B #D8378A #E26AA8

Accessibility & contrast

On white

6.39
#B0226B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B0226B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0226B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0226B#FFFFFF#000000##FFFFFF
##B0226B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#BE0844
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0226b;
/* rgb */ color: rgb(176, 34, 107);
/* oklch */ color: oklch(51.0% 0.186 355.2);
Tailwind
colors: {
  custom: {
    50: '#cd6e95',
    500: '#b0226b',
    950: '#000000',
  },
}
SCSS
$custom: #b0226b;
$custom-light: #cd6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#b0226b",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 329.155,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.18585,
    "h": 355.2
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0226B

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

Preview Lab → · Contrast checker → · Palette generator →

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