#B22F99#B22F99

#B22F99 is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.3% C 0.200 H 336.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B22F99
RGBrgb(178, 47, 153)
HSLhsl(311, 58%, 44%)
HSVhsv(311, 74%, 70%)
CMYKcmyk(0%, 73.6%, 14%, 30.2%)
CIE-LABlab(43.95, 62.52, -28.88)
CIE-LCHlch(43.95, 68.87, 335.20°)
OKLaboklab(54.32% 0.184 -0.0786)
OKLCHoklch(54.32% 0.2 336.9)
XYZxyz(25.1268, 13.8002, 31.4712)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F99 #2FB248
analogous
#8A2FB2 #B22F99 #B22F58
triadic
#B22F99 #99B22F #2F99B2
tetradic
#B22F99 #B28A2F #2FB248 #2F58B2
square
#B22F99 #B28A2F #2FB248 #2F58B2
split-complementary
#B22F99 #58B22F #2FB28A
monochromatic
#511546 #82226F #B22F99 #D04EB7 #DD7ECB

Accessibility & contrast

On white

5.59
#B22F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B22F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F99
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F99#FFFFFF#000000##FFFFFF
##B22F991.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9C
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#BB3761
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22f99;
/* rgb */ color: rgb(178, 47, 153);
/* oklch */ color: oklch(54.3% 0.200 336.9);
Tailwind
colors: {
  custom: {
    50: '#cd74b7',
    500: '#b22f99',
    950: '#000000',
  },
}
SCSS
$custom: #b22f99;
$custom-light: #cd74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f99",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 311.45,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.20009,
    "h": 336.9
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#B22F99
secondary
#77C686
accent
#E16446
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F99

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

Preview Lab → · Contrast checker → · Palette generator →

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