#B22F71#B22F71

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

Color values

HEX#B22F71
RGBrgb(178, 47, 113)
HSLhsl(330, 58%, 44%)
HSVhsv(330, 74%, 70%)
CMYKcmyk(0%, 73.6%, 36.5%, 30.2%)
CIE-LABlab(42.30, 57.37, -6.95)
CIE-LCHlch(42.30, 57.79, 353.09°)
OKLaboklab(52.59% 0.176 -0.0176)
OKLCHoklch(52.59% 0.177 354.3)
XYZxyz(22.3587, 12.6930, 16.8921)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F71 #2FB270
analogous
#B22FB2 #B22F71 #B22F30
triadic
#B22F71 #71B22F #2F71B2
tetradic
#B22F71 #B2B22F #2FB270 #2F30B2
square
#B22F71 #B2B22F #2FB270 #2F30B2
split-complementary
#B22F71 #30B22F #2FB2B2
monochromatic
#511534 #822252 #B22F71 #D04E90 #DD7EAE

Accessibility & contrast

On white

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

On black

3.54
#B22F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22F71#FFFFFF#000000##FFFFFF
##B22F711.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#6C6D6E
Tritanopia (blue-blind)
#C0224C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22f71;
/* rgb */ color: rgb(178, 47, 113);
/* oklch */ color: oklch(52.6% 0.177 354.3);
Tailwind
colors: {
  custom: {
    50: '#ce7399',
    500: '#b22f71',
    950: '#000000',
  },
}
SCSS
$custom: #b22f71;
$custom-light: #ce7399;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f71",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 329.771,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.17683,
    "h": 354.3
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#B22F71
secondary
#77C69E
accent
#E19346
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B22F71

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

Preview Lab → · Contrast checker → · Palette generator →

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