#B22E6D#B22E6D

#B22E6D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.176 H 356.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B22E6D
RGBrgb(178, 46, 109)
HSLhsl(331, 59%, 44%)
HSVhsv(331, 74%, 70%)
CMYKcmyk(0%, 74.2%, 38.8%, 30.2%)
CIE-LABlab(42.04, 57.28, -4.85)
CIE-LCHlch(42.04, 57.49, 355.16°)
OKLaboklab(52.35% 0.1758 -0.012)
OKLCHoklch(52.35% 0.176 356.1)
XYZxyz(22.0989, 12.5258, 15.7190)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E6D #2EB273
analogous
#B22EAF #B22E6D #B2312E
triadic
#B22E6D #6DB22E #2E6DB2
tetradic
#B22E6D #AFB22E #2EB273 #312EB2
square
#B22E6D #AFB22E #2EB273 #312EB2
split-complementary
#B22E6D #2EB231 #2EAFB2
monochromatic
#511531 #81214F #B22E6D #D14C8C #DD7DAB

Accessibility & contrast

On white

5.99
#B22E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B22E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E6D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E6D#FFFFFF#000000##FFFFFF
##B22E6D1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48546F
Deuteranopia (green-blind)
#6D6C6A
Tritanopia (blue-blind)
#C01E49
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b22e6d;
/* rgb */ color: rgb(178, 46, 109);
/* oklch */ color: oklch(52.4% 0.176 356.1);
Tailwind
colors: {
  custom: {
    50: '#ce7396',
    500: '#b22e6d',
    950: '#000000',
  },
}
SCSS
$custom: #b22e6d;
$custom-light: #ce7396;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e6d",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 331.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.17625,
    "h": 356.1
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#B22E6D
secondary
#76C6A0
accent
#E29746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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