#B22E7B#B22E7B

#B22E7B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.183 H 349.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B22E7B
RGBrgb(178, 46, 123)
HSLhsl(325, 59%, 44%)
HSVhsv(325, 74%, 70%)
CMYKcmyk(0%, 74.2%, 30.9%, 30.2%)
CIE-LABlab(42.54, 58.86, -12.78)
CIE-LCHlch(42.54, 60.24, 347.75°)
OKLaboklab(52.88% 0.1797 -0.0334)
OKLCHoklch(52.88% 0.183 349.5)
XYZxyz(22.9135, 12.8516, 20.0090)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E7B #2EB265
analogous
#A72EB2 #B22E7B #B22E39
triadic
#B22E7B #7BB22E #2E7BB2
tetradic
#B22E7B #B2A72E #2EB265 #2E39B2
square
#B22E7B #B2A72E #2EB265 #2E39B2
split-complementary
#B22E7B #39B22E #2EB2A7
monochromatic
#511538 #812159 #B22E7B #D14C9A #DD7DB5

Accessibility & contrast

On white

5.88
#B22E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E7B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E7B#FFFFFF#000000##FFFFFF
##B22E7B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567D
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#BF2650
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22e7b;
/* rgb */ color: rgb(178, 46, 123);
/* oklch */ color: oklch(52.9% 0.183 349.5);
Tailwind
colors: {
  custom: {
    50: '#cd73a1',
    500: '#b22e7b',
    950: '#000000',
  },
}
SCSS
$custom: #b22e7b;
$custom-light: #cd73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e7b",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 325,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.1828,
    "h": 349.5
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#B22E7B
secondary
#76C697
accent
#E28746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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