#B22B79#B22B79

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

Color values

HEX#B22B79
RGBrgb(178, 43, 121)
HSLhsl(325, 61%, 43%)
HSVhsv(325, 76%, 70%)
CMYKcmyk(0%, 75.8%, 32%, 30.2%)
CIE-LABlab(42.12, 59.60, -12.18)
CIE-LCHlch(42.12, 60.84, 348.45°)
OKLaboklab(52.55% 0.1823 -0.0318)
OKLCHoklch(52.55% 0.185 350.1)
XYZxyz(22.6764, 12.5759, 19.3187)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B79 #2BB264
analogous
#A72BB2 #B22B79 #B22B36
triadic
#B22B79 #79B22B #2B79B2
tetradic
#B22B79 #B2A72B #2BB264 #2B36B2
square
#B22B79 #B2A72B #2BB264 #2B36B2
split-complementary
#B22B79 #36B22B #2BB2A7
monochromatic
#4F1336 #811F57 #B22B79 #D34898 #DF79B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B79#FFFFFF#000000##FFFFFF
##B22B791.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)
#42547B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#BF224E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22b79;
/* rgb */ color: rgb(178, 43, 121);
/* oklch */ color: oklch(52.5% 0.185 350.1);
Tailwind
colors: {
  custom: {
    50: '#ce729f',
    500: '#b22b79',
    950: '#000000',
  },
}
SCSS
$custom: #b22b79;
$custom-light: #ce729f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b79",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 325.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.18504,
    "h": 350.1
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22B79

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

Preview Lab → · Contrast checker → · Palette generator →

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