#B22552#B22552

#B22552 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 7.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B22552
RGBrgb(178, 37, 82)
HSLhsl(341, 66%, 42%)
HSVhsv(341, 79%, 70%)
CMYKcmyk(0%, 79.2%, 53.9%, 30.2%)
CIE-LABlab(40.25, 57.64, 9.54)
CIE-LCHlch(40.25, 58.42, 9.39°)
OKLaboklab(50.78% 0.1756 0.0244)
OKLCHoklch(50.78% 0.177 7.9)
XYZxyz(20.5466, 11.4003, 9.0996)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22552 #25B285
analogous
#B22599 #B22552 #B23F25
triadic
#B22552 #52B225 #2552B2
tetradic
#B22552 #99B225 #25B285 #3F25B2
square
#B22552 #99B225 #25B285 #3F25B2
split-complementary
#B22552 #25B23F #2599B2
monochromatic
#4D1023 #7F1A3B #B22552 #D73D6E #E17094

Accessibility & contrast

On white

6.40
#B22552 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B22552 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22552
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22552#FFFFFF#000000##FFFFFF
##B225521.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#6F694F
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b22552;
/* rgb */ color: rgb(178, 37, 82);
/* oklch */ color: oklch(50.8% 0.177 7.9);
Tailwind
colors: {
  custom: {
    50: '#d06e82',
    500: '#b22552',
    950: '#000000',
  },
}
SCSS
$custom: #b22552;
$custom-light: #d06e82;
$custom-dark: #000000;
JSON
{
  "hex": "#b22552",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 340.851,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.17725,
    "h": 7.9
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#B22552
secondary
#6BC8AA
accent
#E9B33F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22552

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

Preview Lab → · Contrast checker → · Palette generator →

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