#B22D78#B22D78

#B22D78 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 350.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B22D78
RGBrgb(178, 45, 120)
HSLhsl(326, 60%, 44%)
HSVhsv(326, 75%, 70%)
CMYKcmyk(0%, 74.7%, 32.6%, 30.2%)
CIE-LABlab(42.31, 58.84, -11.27)
CIE-LCHlch(42.31, 59.91, 349.15°)
OKLaboklab(52.68% 0.18 -0.0293)
OKLCHoklch(52.68% 0.182 350.8)
XYZxyz(22.6899, 12.7005, 19.0222)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D78 #2DB267
analogous
#A92DB2 #B22D78 #B22D36
triadic
#B22D78 #78B22D #2D78B2
tetradic
#B22D78 #B2A92D #2DB267 #2D36B2
square
#B22D78 #B2A92D #2DB267 #2D36B2
split-complementary
#B22D78 #36B22D #2DB2A9
monochromatic
#501436 #812157 #B22D78 #D14B97 #DE7CB3

Accessibility & contrast

On white

5.93
#B22D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B22D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D78
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D78#FFFFFF#000000##FFFFFF
##B22D781.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#6A6C75
Tritanopia (blue-blind)
#BF244F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22d78;
/* rgb */ color: rgb(178, 45, 120);
/* oklch */ color: oklch(52.7% 0.182 350.8);
Tailwind
colors: {
  custom: {
    50: '#ce739f',
    500: '#b22d78',
    950: '#000000',
  },
}
SCSS
$custom: #b22d78;
$custom-light: #ce739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d78",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 326.165,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.18238,
    "h": 350.8
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#B22D78
secondary
#75C698
accent
#E38A45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22D78

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

Preview Lab → · Contrast checker → · Palette generator →

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