#B22879#B22879

#B22879 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.188 H 349.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B22879
RGBrgb(178, 40, 121)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 78%, 70%)
CMYKcmyk(0%, 77.5%, 32%, 30.2%)
CIE-LABlab(41.79, 60.53, -12.67)
CIE-LCHlch(41.79, 61.84, 348.17°)
OKLaboklab(52.31% 0.1852 -0.0331)
OKLCHoklch(52.31% 0.188 349.9)
XYZxyz(22.5713, 12.3657, 19.2836)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22879 #28B261
analogous
#A628B2 #B22879 #B22834
triadic
#B22879 #79B228 #2879B2
tetradic
#B22879 #B2A628 #28B261 #2834B2
square
#B22879 #B2A628 #28B261 #2834B2
split-complementary
#B22879 #34B228 #28B2A6
monochromatic
#4E1235 #801D57 #B22879 #D54398 #E075B4

Accessibility & contrast

On white

6.05
#B22879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B22879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22879
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22879#FFFFFF#000000##FFFFFF
##B228791.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#686B76
Tritanopia (blue-blind)
#BF1E4D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22879;
/* rgb */ color: rgb(178, 40, 121);
/* oklch */ color: oklch(52.3% 0.188 349.9);
Tailwind
colors: {
  custom: {
    50: '#ce719f',
    500: '#b22879',
    950: '#000000',
  },
}
SCSS
$custom: #b22879;
$custom-light: #ce719f;
$custom-dark: #000000;
JSON
{
  "hex": "#b22879",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 324.783,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52313,
    "c": 0.18813,
    "h": 349.9
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#B22879
secondary
#6FC793
accent
#E68641
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22879

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

Preview Lab → · Contrast checker → · Palette generator →

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