#B22C7A#B22C7A

#B22C7A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.184 H 349.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B22C7A
RGBrgb(178, 44, 122)
HSLhsl(325, 60%, 44%)
HSVhsv(325, 75%, 70%)
CMYKcmyk(0%, 75.3%, 31.5%, 30.2%)
CIE-LABlab(42.27, 59.40, -12.57)
CIE-LCHlch(42.27, 60.72, 348.05°)
OKLaboklab(52.67% 0.1815 -0.0328)
OKLCHoklch(52.67% 0.184 349.7)
XYZxyz(22.7749, 12.6741, 19.6556)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C7A #2CB264
analogous
#A72CB2 #B22C7A #B22C37
triadic
#B22C7A #7AB22C #2C7AB2
tetradic
#B22C7A #B2A72C #2CB264 #2C37B2
square
#B22C7A #B2A72C #2CB264 #2C37B2
split-complementary
#B22C7A #37B22C #2CB2A7
monochromatic
#501437 #812058 #B22C7A #D24999 #DE7AB4

Accessibility & contrast

On white

5.94
#B22C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22C7A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22C7A#FFFFFF#000000##FFFFFF
##B22C7A1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#696C77
Tritanopia (blue-blind)
#BF244F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22c7a;
/* rgb */ color: rgb(178, 44, 122);
/* oklch */ color: oklch(52.7% 0.184 349.7);
Tailwind
colors: {
  custom: {
    50: '#ce72a0',
    500: '#b22c7a',
    950: '#000000',
  },
}
SCSS
$custom: #b22c7a;
$custom-light: #ce72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c7a",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 325.075,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.18448,
    "h": 349.7
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#B22C7A
secondary
#73C696
accent
#E48744
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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