#B22E97#B22E97

#B22E97 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.200 H 337.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B22E97
RGBrgb(178, 46, 151)
HSLhsl(312, 59%, 44%)
HSVhsv(312, 74%, 70%)
CMYKcmyk(0%, 74.2%, 15.2%, 30.2%)
CIE-LABlab(43.74, 62.55, -28.01)
CIE-LCHlch(43.74, 68.54, 335.88°)
OKLaboklab(54.14% 0.1848 -0.0761)
OKLCHoklch(54.14% 0.2 337.6)
XYZxyz(24.9235, 13.6557, 30.5953)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E97 #2EB249
analogous
#8B2EB2 #B22E97 #B22E55
triadic
#B22E97 #97B22E #2E97B2
tetradic
#B22E97 #B28B2E #2EB249 #2E55B2
square
#B22E97 #B28B2E #2EB249 #2E55B2
split-complementary
#B22E97 #55B22E #2EB28B
monochromatic
#511544 #81216E #B22E97 #D14CB6 #DD7DCA

Accessibility & contrast

On white

5.63
#B22E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E97
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E97#FFFFFF#000000##FFFFFF
##B22E971.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#BC355F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22e97;
/* rgb */ color: rgb(178, 46, 151);
/* oklch */ color: oklch(54.1% 0.200 337.6);
Tailwind
colors: {
  custom: {
    50: '#cd74b6',
    500: '#b22e97',
    950: '#000000',
  },
}
SCSS
$custom: #b22e97;
$custom-light: #cd74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e97",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 312.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.19982,
    "h": 337.6
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#B22E97
secondary
#76C686
accent
#E26646
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22E97

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

Preview Lab → · Contrast checker → · Palette generator →

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