#B22699#B22699

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

Color values

HEX#B22699
RGBrgb(178, 38, 153)
HSLhsl(311, 65%, 42%)
HSVhsv(311, 79%, 70%)
CMYKcmyk(0%, 78.7%, 14%, 30.2%)
CIE-LABlab(42.99, 65.23, -30.37)
CIE-LCHlch(42.99, 71.96, 335.03°)
OKLaboklab(53.64% 0.1921 -0.0828)
OKLCHoklch(53.64% 0.209 336.7)
XYZxyz(24.8035, 13.1535, 31.3634)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22699 #26B23F
analogous
#8526B2 #B22699 #B22653
triadic
#B22699 #99B226 #2699B2
tetradic
#B22699 #B28526 #26B23F #2653B2
square
#B22699 #B28526 #26B23F #2653B2
split-complementary
#B22699 #53B226 #26B285
monochromatic
#4D1042 #801B6E #B22699 #D63FBB #E172CD

Accessibility & contrast

On white

5.78
#B22699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22699
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22699#FFFFFF#000000##FFFFFF
##B226991.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#BC315E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22699;
/* rgb */ color: rgb(178, 38, 153);
/* oklch */ color: oklch(53.6% 0.209 336.7);
Tailwind
colors: {
  custom: {
    50: '#cd71b7',
    500: '#b22699',
    950: '#000000',
  },
}
SCSS
$custom: #b22699;
$custom-light: #cd71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22699",
  "rgb": {
    "r": 178,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 310.714,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.20922,
    "h": 336.7
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#B22699
secondary
#6CC87C
accent
#E85E40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22699

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

Preview Lab → · Contrast checker → · Palette generator →

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