#B22E7D#B22E7D

#B22E7D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.184 H 348.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B22E7D
RGBrgb(178, 46, 125)
HSLhsl(324, 59%, 44%)
HSVhsv(324, 74%, 70%)
CMYKcmyk(0%, 74.2%, 29.8%, 30.2%)
CIE-LABlab(42.62, 59.10, -13.89)
CIE-LCHlch(42.62, 60.72, 346.77°)
OKLaboklab(52.96% 0.1802 -0.0365)
OKLCHoklch(52.96% 0.184 348.6)
XYZxyz(23.0399, 12.9022, 20.6751)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E7D #2EB263
analogous
#A52EB2 #B22E7D #B22E3B
triadic
#B22E7D #7DB22E #2E7DB2
tetradic
#B22E7D #B2A52E #2EB263 #2E3BB2
square
#B22E7D #B2A52E #2EB263 #2E3BB2
split-complementary
#B22E7D #3BB22E #2EB2A5
monochromatic
#511539 #81215B #B22E7D #D14C9C #DD7DB7

Accessibility & contrast

On white

5.87
#B22E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B22E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E7D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E7D#FFFFFF#000000##FFFFFF
##B22E7D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#BF2851
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22e7d;
/* rgb */ color: rgb(178, 46, 125);
/* oklch */ color: oklch(53.0% 0.184 348.6);
Tailwind
colors: {
  custom: {
    50: '#cd73a2',
    500: '#b22e7d',
    950: '#000000',
  },
}
SCSS
$custom: #b22e7d;
$custom-light: #cd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e7d",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 324.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.18386,
    "h": 348.6
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#B22E7D
secondary
#76C696
accent
#E28446
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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