#B22872#B22872

#B22872 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 353.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B22872
RGBrgb(178, 40, 114)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 78%, 70%)
CMYKcmyk(0%, 77.5%, 36%, 30.2%)
CIE-LABlab(41.53, 59.74, -8.72)
CIE-LCHlch(41.53, 60.37, 351.70°)
OKLaboklab(52.04% 0.1834 -0.0224)
OKLCHoklch(52.04% 0.185 353)
XYZxyz(22.1576, 12.2002, 17.1044)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22872 #28B268
analogous
#AD28B2 #B22872 #B2282D
triadic
#B22872 #72B228 #2872B2
tetradic
#B22872 #B2AD28 #28B268 #282DB2
square
#B22872 #B2AD28 #28B268 #282DB2
split-complementary
#B22872 #2DB228 #28B2AD
monochromatic
#4E1232 #801D52 #B22872 #D54391 #E075AE

Accessibility & contrast

On white

6.11
#B22872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B22872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22872
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22872#FFFFFF#000000##FFFFFF
##B228721.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435274
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#C0194A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22872;
/* rgb */ color: rgb(178, 40, 114);
/* oklch */ color: oklch(52.0% 0.185 353.0);
Tailwind
colors: {
  custom: {
    50: '#ce709a',
    500: '#b22872',
    950: '#000000',
  },
}
SCSS
$custom: #b22872;
$custom-light: #ce709a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22872",
  "rgb": {
    "r": 178,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 327.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.18475,
    "h": 353
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#B22872
secondary
#6FC798
accent
#E68E41
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22872

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

Preview Lab → · Contrast checker → · Palette generator →

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