#B22876#B22876

#B22876 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 351.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B22876
RGBrgb(178, 40, 118)
HSLhsl(326, 63%, 43%)
HSVhsv(326, 78%, 70%)
CMYKcmyk(0%, 77.5%, 33.7%, 30.2%)
CIE-LABlab(41.68, 60.19, -10.99)
CIE-LCHlch(41.68, 61.18, 349.65°)
OKLaboklab(52.19% 0.1845 -0.0285)
OKLCHoklch(52.19% 0.187 351.2)
XYZxyz(22.3902, 12.2933, 18.3298)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22876 #28B264
analogous
#A928B2 #B22876 #B22831
triadic
#B22876 #76B228 #2876B2
tetradic
#B22876 #B2A928 #28B264 #2831B2
square
#B22876 #B2A928 #28B264 #2831B2
split-complementary
#B22876 #31B228 #28B2A9
monochromatic
#4E1234 #801D55 #B22876 #D54395 #E075B1

Accessibility & contrast

On white

6.07
#B22876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B22876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22876
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22876#FFFFFF#000000##FFFFFF
##B228761.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415378
Deuteranopia (green-blind)
#696B73
Tritanopia (blue-blind)
#C01C4C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22876;
/* rgb */ color: rgb(178, 40, 118);
/* oklch */ color: oklch(52.2% 0.187 351.2);
Tailwind
colors: {
  custom: {
    50: '#ce709d',
    500: '#b22876',
    950: '#000000',
  },
}
SCSS
$custom: #b22876;
$custom-light: #ce709d;
$custom-dark: #000000;
JSON
{
  "hex": "#b22876",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 326.087,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.18664,
    "h": 351.2
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#B22876
secondary
#6FC795
accent
#E68941
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22876

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

Preview Lab → · Contrast checker → · Palette generator →

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