#B22C79#B22C79

#B22C79 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.184 H 350.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B22C79
RGBrgb(178, 44, 121)
HSLhsl(326, 60%, 44%)
HSVhsv(326, 75%, 70%)
CMYKcmyk(0%, 75.3%, 32%, 30.2%)
CIE-LABlab(42.23, 59.28, -12.01)
CIE-LCHlch(42.23, 60.49, 348.55°)
OKLaboklab(52.63% 0.1813 -0.0313)
OKLCHoklch(52.63% 0.184 350.2)
XYZxyz(22.7132, 12.6495, 19.3309)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C79 #2CB265
analogous
#A82CB2 #B22C79 #B22C36
triadic
#B22C79 #79B22C #2C79B2
tetradic
#B22C79 #B2A82C #2CB265 #2C36B2
square
#B22C79 #B2A82C #2CB265 #2C36B2
split-complementary
#B22C79 #36B22C #2CB2A8
monochromatic
#501436 #812058 #B22C79 #D24998 #DE7AB4

Accessibility & contrast

On white

5.95
#B22C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C79
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C79#FFFFFF#000000##FFFFFF
##B22C791.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#BF234F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22c79;
/* rgb */ color: rgb(178, 44, 121);
/* oklch */ color: oklch(52.6% 0.184 350.2);
Tailwind
colors: {
  custom: {
    50: '#ce729f',
    500: '#b22c79',
    950: '#000000',
  },
}
SCSS
$custom: #b22c79;
$custom-light: #ce729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c79",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 325.522,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.18397,
    "h": 350.2
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#B22C79
secondary
#73C697
accent
#E48844
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22C79

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

Preview Lab → · Contrast checker → · Palette generator →

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