#B22E7E#B22E7E

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

Color values

HEX#B22E7E
RGBrgb(178, 46, 126)
HSLhsl(324, 59%, 44%)
HSVhsv(324, 74%, 70%)
CMYKcmyk(0%, 74.2%, 29.2%, 30.2%)
CIE-LABlab(42.65, 59.23, -14.45)
CIE-LCHlch(42.65, 60.96, 346.29°)
OKLaboklab(53.01% 0.1804 -0.038)
OKLCHoklch(53.01% 0.184 348.1)
XYZxyz(23.1041, 12.9279, 21.0132)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E7E #2EB262
analogous
#A42EB2 #B22E7E #B22E3C
triadic
#B22E7E #7EB22E #2E7EB2
tetradic
#B22E7E #B2A42E #2EB262 #2E3CB2
square
#B22E7E #B2A42E #2EB262 #2E3CB2
split-complementary
#B22E7E #3CB22E #2EB2A4
monochromatic
#511539 #81215C #B22E7E #D14C9D #DD7DB7

Accessibility & contrast

On white

5.86
#B22E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B22E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E7E
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E7E#FFFFFF#000000##FFFFFF
##B22E7E1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#BF2852
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22e7e;
/* rgb */ color: rgb(178, 46, 126);
/* oklch */ color: oklch(53.0% 0.184 348.1);
Tailwind
colors: {
  custom: {
    50: '#cd73a3',
    500: '#b22e7e',
    950: '#000000',
  },
}
SCSS
$custom: #b22e7e;
$custom-light: #cd73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e7e",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 323.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.1844,
    "h": 348.1
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#B22E7E
secondary
#76C695
accent
#E28346
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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