#B22598#B22598

#B22598 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.5% C 0.209 H 337.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B22598
RGBrgb(178, 37, 152)
HSLhsl(311, 66%, 42%)
HSVhsv(311, 79%, 70%)
CMYKcmyk(0%, 79.2%, 14.6%, 30.2%)
CIE-LABlab(42.85, 65.37, -29.99)
CIE-LCHlch(42.85, 71.92, 335.35°)
OKLaboklab(53.52% 0.1929 -0.0817)
OKLCHoklch(53.52% 0.209 337)
XYZxyz(24.6897, 13.0575, 30.9197)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22598 #25B23F
analogous
#8625B2 #B22598 #B22552
triadic
#B22598 #98B225 #2598B2
tetradic
#B22598 #B28625 #25B23F #2552B2
square
#B22598 #B28625 #25B23F #2552B2
split-complementary
#B22598 #52B225 #25B286
monochromatic
#4D1041 #7F1A6D #B22598 #D73DBA #E170CC

Accessibility & contrast

On white

5.82
#B22598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B22598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22598
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22598#FFFFFF#000000##FFFFFF
##B225981.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#5C6D95
Tritanopia (blue-blind)
#BC2F5D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22598;
/* rgb */ color: rgb(178, 37, 152);
/* oklch */ color: oklch(53.5% 0.209 337.0);
Tailwind
colors: {
  custom: {
    50: '#cd71b6',
    500: '#b22598',
    950: '#000000',
  },
}
SCSS
$custom: #b22598;
$custom-light: #cd71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22598",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 311.064,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.20946,
    "h": 337
  },
  "luminance": 0.13055
}

Semantic roles & 50–950 ramp

primary
#B22598
secondary
#6BC87C
accent
#E95E3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22598

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

Preview Lab → · Contrast checker → · Palette generator →

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