#B22A74#B22A74

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

Color values

HEX#B22A74
RGBrgb(178, 42, 116)
HSLhsl(327, 62%, 43%)
HSVhsv(327, 76%, 70%)
CMYKcmyk(0%, 76.4%, 34.8%, 30.2%)
CIE-LABlab(41.82, 59.35, -9.53)
CIE-LCHlch(41.82, 60.11, 350.88°)
OKLaboklab(52.27% 0.182 -0.0245)
OKLCHoklch(52.27% 0.184 352.3)
XYZxyz(22.3418, 12.3846, 17.7335)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A74 #2AB268
analogous
#AC2AB2 #B22A74 #B22A30
triadic
#B22A74 #74B22A #2A74B2
tetradic
#B22A74 #B2AC2A #2AB268 #2A30B2
square
#B22A74 #B2AC2A #2AB268 #2A30B2
split-complementary
#B22A74 #30B22A #2AB2AC
monochromatic
#4F1333 #801E54 #B22A74 #D34693 #DF77B0

Accessibility & contrast

On white

6.04
#B22A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B22A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A74
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A74#FFFFFF#000000##FFFFFF
##B22A741.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#6A6C71
Tritanopia (blue-blind)
#C01D4B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22a74;
/* rgb */ color: rgb(178, 42, 116);
/* oklch */ color: oklch(52.3% 0.184 352.3);
Tailwind
colors: {
  custom: {
    50: '#ce719c',
    500: '#b22a74',
    950: '#000000',
  },
}
SCSS
$custom: #b22a74;
$custom-light: #ce719c;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a74",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 327.353,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.18364,
    "h": 352.3
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#B22A74
secondary
#71C798
accent
#E58D43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22A74

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

Preview Lab → · Contrast checker → · Palette generator →

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