#B22D71#B22D71

#B22D71 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.179 H 354.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B22D71
RGBrgb(178, 45, 113)
HSLhsl(329, 60%, 44%)
HSVhsv(329, 75%, 70%)
CMYKcmyk(0%, 74.7%, 36.5%, 30.2%)
CIE-LABlab(42.06, 58.05, -7.31)
CIE-LCHlch(42.06, 58.51, 352.82°)
OKLaboklab(52.41% 0.1781 -0.0186)
OKLCHoklch(52.41% 0.179 354)
XYZxyz(22.2805, 12.5367, 16.8661)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D71 #2DB26E
analogous
#B02DB2 #B22D71 #B22D2F
triadic
#B22D71 #71B22D #2D71B2
tetradic
#B22D71 #B2B02D #2DB26E #2D2FB2
square
#B22D71 #B2B02D #2DB26E #2D2FB2
split-complementary
#B22D71 #2FB22D #2DB2B0
monochromatic
#501433 #812152 #B22D71 #D14B90 #DE7CAE

Accessibility & contrast

On white

5.99
#B22D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B22D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D71
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D71#FFFFFF#000000##FFFFFF
##B22D711.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#C01F4B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22d71;
/* rgb */ color: rgb(178, 45, 113);
/* oklch */ color: oklch(52.4% 0.179 354.0);
Tailwind
colors: {
  custom: {
    50: '#ce7299',
    500: '#b22d71',
    950: '#000000',
  },
}
SCSS
$custom: #b22d71;
$custom-light: #ce7299;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d71",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 329.323,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.17906,
    "h": 354
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#B22D71
secondary
#75C69C
accent
#E39245
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22D71

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

Preview Lab → · Contrast checker → · Palette generator →

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