#B22B78#B22B78

#B22B78 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.185 H 350.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B22B78
RGBrgb(178, 43, 120)
HSLhsl(326, 61%, 43%)
HSVhsv(326, 76%, 70%)
CMYKcmyk(0%, 75.8%, 32.6%, 30.2%)
CIE-LABlab(42.08, 59.49, -11.62)
CIE-LCHlch(42.08, 60.61, 348.95°)
OKLaboklab(52.51% 0.182 -0.0302)
OKLCHoklch(52.51% 0.185 350.6)
XYZxyz(22.6154, 12.5515, 18.9974)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B78 #2BB265
analogous
#A82BB2 #B22B78 #B22B34
triadic
#B22B78 #78B22B #2B78B2
tetradic
#B22B78 #B2A82B #2BB265 #2B34B2
square
#B22B78 #B2A82B #2BB265 #2B34B2
split-complementary
#B22B78 #34B22B #2BB2A8
monochromatic
#4F1336 #811F57 #B22B78 #D34897 #DF79B3

Accessibility & contrast

On white

5.98
#B22B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B22B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B78
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B78#FFFFFF#000000##FFFFFF
##B22B781.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#BF214E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22b78;
/* rgb */ color: rgb(178, 43, 120);
/* oklch */ color: oklch(52.5% 0.185 350.6);
Tailwind
colors: {
  custom: {
    50: '#ce729f',
    500: '#b22b78',
    950: '#000000',
  },
}
SCSS
$custom: #b22b78;
$custom-light: #ce729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b78",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 325.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.18453,
    "h": 350.6
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#B22B78
secondary
#72C796
accent
#E48944
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22B78

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

Preview Lab → · Contrast checker → · Palette generator →

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