#B22E8A#B22E8A

#B22E8A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.191 H 342.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B22E8A
RGBrgb(178, 46, 138)
HSLhsl(318, 59%, 44%)
HSVhsv(318, 74%, 70%)
CMYKcmyk(0%, 74.2%, 22.5%, 30.2%)
CIE-LABlab(43.15, 60.76, -21.04)
CIE-LCHlch(43.15, 64.30, 340.90°)
OKLaboklab(53.52% 0.1829 -0.0564)
OKLCHoklch(53.52% 0.191 342.9)
XYZxyz(23.9254, 13.2564, 25.3386)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E8A #2EB256
analogous
#982EB2 #B22E8A #B22E48
triadic
#B22E8A #8AB22E #2E8AB2
tetradic
#B22E8A #B2982E #2EB256 #2E48B2
square
#B22E8A #B2982E #2EB256 #2E48B2
split-complementary
#B22E8A #48B22E #2EB298
monochromatic
#51153F #812164 #B22E8A #D14CA9 #DD7DC0

Accessibility & contrast

On white

5.75
#B22E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B22E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E8A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E8A#FFFFFF#000000##FFFFFF
##B22E8A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BD2F58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22e8a;
/* rgb */ color: rgb(178, 46, 138);
/* oklch */ color: oklch(53.5% 0.191 342.9);
Tailwind
colors: {
  custom: {
    50: '#cd74ac',
    500: '#b22e8a',
    950: '#000000',
  },
}
SCSS
$custom: #b22e8a;
$custom-light: #cd74ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e8a",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 318.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.19138,
    "h": 342.9
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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