#B22E52#B22E52

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

Color values

HEX#B22E52
RGBrgb(178, 46, 82)
HSLhsl(344, 59%, 44%)
HSVhsv(344, 74%, 70%)
CMYKcmyk(0%, 74.2%, 53.9%, 30.2%)
CIE-LABlab(41.27, 54.77, 10.96)
CIE-LCHlch(41.27, 55.86, 11.31°)
OKLaboklab(51.53% 0.1663 0.0279)
OKLCHoklch(51.53% 0.169 9.5)
XYZxyz(20.8620, 12.0311, 9.2047)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E52 #2EB28E
analogous
#B22E94 #B22E52 #B24C2E
triadic
#B22E52 #52B22E #2E52B2
tetradic
#B22E52 #94B22E #2EB28E #4C2EB2
square
#B22E52 #94B22E #2EB28E #4C2EB2
split-complementary
#B22E52 #2EB24C #2E94B2
monochromatic
#511525 #81213C #B22E52 #D14C70 #DD7D97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22E52#FFFFFF#000000##FFFFFF
##B22E521.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)
#505053
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#C20A3D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22e52;
/* rgb */ color: rgb(178, 46, 82);
/* oklch */ color: oklch(51.5% 0.169 9.5);
Tailwind
colors: {
  custom: {
    50: '#cf7282',
    500: '#b22e52',
    950: '#000000',
  },
}
SCSS
$custom: #b22e52;
$custom-light: #cf7282;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e52",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 343.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.16865,
    "h": 9.5
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#B22E52
secondary
#76C6B0
accent
#E2B746
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B22E52

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

Preview Lab → · Contrast checker → · Palette generator →

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