#B22C87#B22C87

#B22C87 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.192 H 344.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B22C87
RGBrgb(178, 44, 135)
HSLhsl(319, 60%, 44%)
HSVhsv(319, 75%, 70%)
CMYKcmyk(0%, 75.3%, 24.2%, 30.2%)
CIE-LABlab(42.79, 61.01, -19.76)
CIE-LCHlch(42.79, 64.13, 342.05°)
OKLaboklab(53.22% 0.1843 -0.0527)
OKLCHoklch(53.22% 0.192 344)
XYZxyz(23.6349, 13.0181, 24.1850)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C87 #2CB257
analogous
#9A2CB2 #B22C87 #B22C44
triadic
#B22C87 #87B22C #2C87B2
tetradic
#B22C87 #B29A2C #2CB257 #2C44B2
square
#B22C87 #B29A2C #2CB257 #2C44B2
split-complementary
#B22C87 #44B22C #2CB29A
monochromatic
#50143D #812062 #B22C87 #D249A6 #DE7ABE

Accessibility & contrast

On white

5.83
#B22C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C87
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C87#FFFFFF#000000##FFFFFF
##B22C871.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#656D84
Tritanopia (blue-blind)
#BE2B56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22c87;
/* rgb */ color: rgb(178, 44, 135);
/* oklch */ color: oklch(53.2% 0.192 344.0);
Tailwind
colors: {
  custom: {
    50: '#cd73aa',
    500: '#b22c87',
    950: '#000000',
  },
}
SCSS
$custom: #b22c87;
$custom-light: #cd73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c87",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 319.254,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.19174,
    "h": 344
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#B22C87
secondary
#73C68E
accent
#E47744
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22C87

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

Preview Lab → · Contrast checker → · Palette generator →

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