#B22573#B22573

#B22573 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.188 H 352.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B22573
RGBrgb(178, 37, 115)
HSLhsl(327, 66%, 42%)
HSVhsv(327, 79%, 70%)
CMYKcmyk(0%, 79.2%, 35.4%, 30.2%)
CIE-LABlab(41.26, 60.72, -9.75)
CIE-LCHlch(41.26, 61.50, 350.88°)
OKLaboklab(51.85% 0.1864 -0.0251)
OKLCHoklch(51.85% 0.188 352.3)
XYZxyz(22.1176, 12.0286, 17.3734)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22573 #25B264
analogous
#AB25B2 #B22573 #B2252C
triadic
#B22573 #73B225 #2573B2
tetradic
#B22573 #B2AB25 #25B264 #252CB2
square
#B22573 #B2AB25 #25B264 #252CB2
split-complementary
#B22573 #2CB225 #25B2AB
monochromatic
#4D1032 #7F1A52 #B22573 #D73D92 #E170AF

Accessibility & contrast

On white

6.17
#B22573 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B22573 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22573
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22573#FFFFFF#000000##FFFFFF
##B225731.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415175
Deuteranopia (green-blind)
#696A70
Tritanopia (blue-blind)
#C01549
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22573;
/* rgb */ color: rgb(178, 37, 115);
/* oklch */ color: oklch(51.9% 0.188 352.3);
Tailwind
colors: {
  custom: {
    50: '#ce6f9b',
    500: '#b22573',
    950: '#000000',
  },
}
SCSS
$custom: #b22573;
$custom-light: #ce6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b22573",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 326.809,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.18811,
    "h": 352.3
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#B22573
secondary
#6BC894
accent
#E98B3F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #B22573

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

Preview Lab → · Contrast checker → · Palette generator →

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