#B22971#B22971

#B22971 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.183 H 353.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B22971
RGBrgb(178, 41, 113)
HSLhsl(328, 63%, 43%)
HSVhsv(328, 77%, 70%)
CMYKcmyk(0%, 77%, 36.5%, 30.2%)
CIE-LABlab(41.60, 59.33, -7.99)
CIE-LCHlch(41.60, 59.86, 352.33°)
OKLaboklab(52.08% 0.1822 -0.0204)
OKLCHoklch(52.08% 0.183 353.6)
XYZxyz(22.1351, 12.2458, 16.8176)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22971 #29B26A
analogous
#AE29B2 #B22971 #B2292D
triadic
#B22971 #71B229 #2971B2
tetradic
#B22971 #B2AE29 #29B26A #292DB2
square
#B22971 #B2AE29 #29B26A #292DB2
split-complementary
#B22971 #2DB229 #29B2AE
monochromatic
#4F1232 #801E51 #B22971 #D44490 #DF76AD

Accessibility & contrast

On white

6.09
#B22971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B22971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22971
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22971#FFFFFF#000000##FFFFFF
##B229711.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#C01A4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22971;
/* rgb */ color: rgb(178, 41, 113);
/* oklch */ color: oklch(52.1% 0.183 353.6);
Tailwind
colors: {
  custom: {
    50: '#ce7199',
    500: '#b22971',
    950: '#000000',
  },
}
SCSS
$custom: #b22971;
$custom-light: #ce7199;
$custom-dark: #000000;
JSON
{
  "hex": "#b22971",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 328.467,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.18329,
    "h": 353.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#B22971
secondary
#70C799
accent
#E69042
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22971

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

Preview Lab → · Contrast checker → · Palette generator →

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