#B22E5D#B22E5D

#B22E5D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.171 H 4.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B22E5D
RGBrgb(178, 46, 93)
HSLhsl(339, 59%, 44%)
HSVhsv(339, 74%, 70%)
CMYKcmyk(0%, 74.2%, 47.8%, 30.2%)
CIE-LABlab(41.55, 55.71, 4.45)
CIE-LCHlch(41.55, 55.88, 4.56°)
OKLaboklab(51.84% 0.1705 0.012)
OKLCHoklch(51.84% 0.171 4)
XYZxyz(21.3146, 12.2121, 11.5886)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E5D #2EB283
analogous
#B22E9F #B22E5D #B2412E
triadic
#B22E5D #5DB22E #2E5DB2
tetradic
#B22E5D #9FB22E #2EB283 #412EB2
square
#B22E5D #9FB22E #2EB283 #412EB2
split-complementary
#B22E5D #2EB241 #2E9FB2
monochromatic
#51152A #812144 #B22E5D #D14C7C #DD7D9F

Accessibility & contrast

On white

6.10
#B22E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B22E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E5D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E5D#FFFFFF#000000##FFFFFF
##B22E5D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#706B5A
Tritanopia (blue-blind)
#C21342
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22e5d;
/* rgb */ color: rgb(178, 46, 93);
/* oklch */ color: oklch(51.8% 0.171 4.0);
Tailwind
colors: {
  custom: {
    50: '#cf728a',
    500: '#b22e5d',
    950: '#000000',
  },
}
SCSS
$custom: #b22e5d;
$custom-light: #cf728a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e5d",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 338.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.17089,
    "h": 4
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#B22E5D
secondary
#76C6A9
accent
#E2AA46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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