#B22D79#B22D79

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

Color values

HEX#B22D79
RGBrgb(178, 45, 121)
HSLhsl(326, 60%, 44%)
HSVhsv(326, 75%, 70%)
CMYKcmyk(0%, 74.7%, 32%, 30.2%)
CIE-LABlab(42.35, 58.96, -11.84)
CIE-LCHlch(42.35, 60.13, 348.65°)
OKLaboklab(52.72% 0.1803 -0.0308)
OKLCHoklch(52.72% 0.183 350.3)
XYZxyz(22.7509, 12.7249, 19.3435)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D79 #2DB266
analogous
#A82DB2 #B22D79 #B22D37
triadic
#B22D79 #79B22D #2D79B2
tetradic
#B22D79 #B2A82D #2DB266 #2D37B2
square
#B22D79 #B2A82D #2DB266 #2D37B2
split-complementary
#B22D79 #37B22D #2DB2A8
monochromatic
#501437 #812158 #B22D79 #D14B98 #DE7CB4

Accessibility & contrast

On white

5.92
#B22D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22D79
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D79#FFFFFF#000000##FFFFFF
##B22D791.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22d79;
/* rgb */ color: rgb(178, 45, 121);
/* oklch */ color: oklch(52.7% 0.183 350.3);
Tailwind
colors: {
  custom: {
    50: '#cd739f',
    500: '#b22d79',
    950: '#000000',
  },
}
SCSS
$custom: #b22d79;
$custom-light: #cd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d79",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 325.714,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.18288,
    "h": 350.3
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22D79

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

Preview Lab → · Contrast checker → · Palette generator →

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