#B22E8B#B22E8B

#B22E8B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.192 H 342.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B22E8B
RGBrgb(178, 46, 139)
HSLhsl(318, 59%, 44%)
HSVhsv(318, 74%, 70%)
CMYKcmyk(0%, 74.2%, 21.9%, 30.2%)
CIE-LABlab(43.19, 60.89, -21.58)
CIE-LCHlch(43.19, 64.60, 340.48°)
OKLaboklab(53.57% 0.1831 -0.0579)
OKLCHoklch(53.57% 0.192 342.5)
XYZxyz(23.9981, 13.2855, 25.7216)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E8B #2EB255
analogous
#972EB2 #B22E8B #B22E49
triadic
#B22E8B #8BB22E #2E8BB2
tetradic
#B22E8B #B2972E #2EB255 #2E49B2
square
#B22E8B #B2972E #2EB255 #2E49B2
split-complementary
#B22E8B #49B22E #2EB297
monochromatic
#51153F #812165 #B22E8B #D14CAA #DD7DC1

Accessibility & contrast

On white

5.74
#B22E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B22E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E8B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E8B#FFFFFF#000000##FFFFFF
##B22E8B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#BD2F59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22e8b;
/* rgb */ color: rgb(178, 46, 139);
/* oklch */ color: oklch(53.6% 0.192 342.5);
Tailwind
colors: {
  custom: {
    50: '#cd74ad',
    500: '#b22e8b',
    950: '#000000',
  },
}
SCSS
$custom: #b22e8b;
$custom-light: #cd74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e8b",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 317.727,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.192,
    "h": 342.5
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#B22E8B
secondary
#76C68E
accent
#E27446
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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