#B22E78#B22E78

#B22E78 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.181 H 350.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B22E78
RGBrgb(178, 46, 120)
HSLhsl(326, 59%, 44%)
HSVhsv(326, 74%, 70%)
CMYKcmyk(0%, 74.2%, 32.6%, 30.2%)
CIE-LABlab(42.43, 58.51, -11.10)
CIE-LCHlch(42.43, 59.55, 349.26°)
OKLaboklab(52.76% 0.179 -0.0288)
OKLCHoklch(52.76% 0.181 350.9)
XYZxyz(22.7285, 12.7777, 19.0351)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E78 #2EB268
analogous
#AA2EB2 #B22E78 #B22E36
triadic
#B22E78 #78B22E #2E78B2
tetradic
#B22E78 #B2AA2E #2EB268 #2E36B2
square
#B22E78 #B2AA2E #2EB268 #2E36B2
split-complementary
#B22E78 #36B22E #2EB2AA
monochromatic
#511536 #812157 #B22E78 #D14C97 #DD7DB3

Accessibility & contrast

On white

5.91
#B22E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B22E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E78
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E78#FFFFFF#000000##FFFFFF
##B22E781.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#6A6D75
Tritanopia (blue-blind)
#BF254F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22e78;
/* rgb */ color: rgb(178, 46, 120);
/* oklch */ color: oklch(52.8% 0.181 350.9);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b22e78',
    950: '#000000',
  },
}
SCSS
$custom: #b22e78;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e78",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 326.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.18127,
    "h": 350.9
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#B22E78
secondary
#76C699
accent
#E28A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22E78

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

Preview Lab → · Contrast checker → · Palette generator →

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