#B22E95#B22E95

#B22E95 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.198 H 338.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B22E95
RGBrgb(178, 46, 149)
HSLhsl(313, 59%, 44%)
HSVhsv(313, 74%, 70%)
CMYKcmyk(0%, 74.2%, 16.3%, 30.2%)
CIE-LABlab(43.64, 62.27, -26.95)
CIE-LCHlch(43.64, 67.85, 336.60°)
OKLaboklab(54.04% 0.1845 -0.0731)
OKLCHoklch(54.04% 0.198 338.4)
XYZxyz(24.7625, 13.5913, 29.7472)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22E95 #2EB24B
analogous
#8D2EB2 #B22E95 #B22E53
triadic
#B22E95 #95B22E #2E95B2
tetradic
#B22E95 #B28D2E #2EB24B #2E53B2
square
#B22E95 #B28D2E #2EB24B #2E53B2
split-complementary
#B22E95 #53B22E #2EB28D
monochromatic
#511544 #81216C #B22E95 #D14CB4 #DD7DC8

Accessibility & contrast

On white

5.65
#B22E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B22E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22E95
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22E95#FFFFFF#000000##FFFFFF
##B22E951.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#616E92
Tritanopia (blue-blind)
#BC345E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22e95;
/* rgb */ color: rgb(178, 46, 149);
/* oklch */ color: oklch(54.0% 0.198 338.4);
Tailwind
colors: {
  custom: {
    50: '#cd74b4',
    500: '#b22e95',
    950: '#000000',
  },
}
SCSS
$custom: #b22e95;
$custom-light: #cd74b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22e95",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 313.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.19847,
    "h": 338.4
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#B22E95
secondary
#76C687
accent
#E26846
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22E95

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

Preview Lab → · Contrast checker → · Palette generator →

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