#B22E81#B22E81

#B22E81 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.186 H 346.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B22E81
RGBrgb(178, 46, 129)
HSLhsl(322, 59%, 44%)
HSVhsv(322, 74%, 70%)
CMYKcmyk(0%, 74.2%, 27.5%, 30.2%)
CIE-LABlab(42.77, 59.60, -16.11)
CIE-LCHlch(42.77, 61.74, 344.87°)
OKLaboklab(53.13% 0.1811 -0.0426)
OKLCHoklch(53.13% 0.186 346.8)
XYZxyz(23.3006, 13.0065, 22.0481)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E81 #2EB25F
analogous
#A12EB2 #B22E81 #B22E3F
triadic
#B22E81 #81B22E #2E81B2
tetradic
#B22E81 #B2A12E #2EB25F #2E3FB2
square
#B22E81 #B2A12E #2EB25F #2E3FB2
split-complementary
#B22E81 #3FB22E #2EB2A1
monochromatic
#51153B #81215E #B22E81 #D14CA0 #DD7DBA

Accessibility & contrast

On white

5.83
#B22E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B22E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E81
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E81#FFFFFF#000000##FFFFFF
##B22E811.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405783
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#BE2A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22e81;
/* rgb */ color: rgb(178, 46, 129);
/* oklch */ color: oklch(53.1% 0.186 346.8);
Tailwind
colors: {
  custom: {
    50: '#cd73a5',
    500: '#b22e81',
    950: '#000000',
  },
}
SCSS
$custom: #b22e81;
$custom-light: #cd73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e81",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 322.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.18606,
    "h": 346.8
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#B22E81
secondary
#76C694
accent
#E28046
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22E81

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

Preview Lab → · Contrast checker → · Palette generator →

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