#B0226C#B0226C

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

Color values

HEX#B0226C
RGBrgb(176, 34, 108)
HSLhsl(329, 68%, 41%)
HSVhsv(329, 81%, 69%)
CMYKcmyk(0%, 80.7%, 38.6%, 31%)
CIE-LABlab(40.34, 60.29, -6.79)
CIE-LCHlch(40.34, 60.67, 353.58°)
OKLaboklab(51.03% 0.1855 -0.0172)
OKLCHoklch(51.03% 0.186 354.7)
XYZxyz(21.1848, 11.4596, 15.2808)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0226C #22B066
analogous
#AD22B0 #B0226C #B02225
triadic
#B0226C #6CB022 #226CB0
tetradic
#B0226C #B0AD22 #22B066 #2225B0
square
#B0226C #B0AD22 #22B066 #2225B0
split-complementary
#B0226C #25B022 #22B0AD
monochromatic
#490E2D #7D184D #B0226C #D8378B #E26AA9

Accessibility & contrast

On white

6.38
#B0226C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0226C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0226C#FFFFFF#000000##FFFFFF
##B0226C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#BE0A45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0226c;
/* rgb */ color: rgb(176, 34, 108);
/* oklch */ color: oklch(51.0% 0.186 354.7);
Tailwind
colors: {
  custom: {
    50: '#cd6e96',
    500: '#b0226c',
    950: '#000000',
  },
}
SCSS
$custom: #b0226c;
$custom-light: #cd6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#b0226c",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 328.732,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.18626,
    "h": 354.7
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#B0226C
secondary
#66C895
accent
#EA903D
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0226C

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

Preview Lab → · Contrast checker → · Palette generator →

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