#B22599#B22599

#B22599 is a mid, highly saturated pink. Relative luminance 0.131; OKLCH L 53.6% C 0.210 H 336.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B22599
RGBrgb(178, 37, 153)
HSLhsl(311, 66%, 42%)
HSVhsv(311, 79%, 70%)
CMYKcmyk(0%, 79.2%, 14%, 30.2%)
CIE-LABlab(42.90, 65.51, -30.52)
CIE-LCHlch(42.90, 72.27, 335.02°)
OKLaboklab(53.57% 0.193 -0.0832)
OKLCHoklch(53.57% 0.21 336.7)
XYZxyz(24.7719, 13.0904, 31.3529)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22599 #25B23E
analogous
#8425B2 #B22599 #B22553
triadic
#B22599 #99B225 #2599B2
tetradic
#B22599 #B28425 #25B23E #2553B2
square
#B22599 #B28425 #25B23E #2553B2
split-complementary
#B22599 #53B225 #25B284
monochromatic
#4D1042 #7F1A6D #B22599 #D73DBC #E170CD

Accessibility & contrast

On white

5.80
#B22599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B22599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22599
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22599#FFFFFF#000000##FFFFFF
##B225991.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#BC305E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22599;
/* rgb */ color: rgb(178, 37, 153);
/* oklch */ color: oklch(53.6% 0.210 336.7);
Tailwind
colors: {
  custom: {
    50: '#cd71b7',
    500: '#b22599',
    950: '#000000',
  },
}
SCSS
$custom: #b22599;
$custom-light: #cd71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22599",
  "rgb": {
    "r": 178,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 310.638,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.21012,
    "h": 336.7
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#B22599
secondary
#6BC87B
accent
#E95D3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22599

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

Preview Lab → · Contrast checker → · Palette generator →

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