#B22D99#B22D99

#B22D99 is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.2% C 0.202 H 336.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B22D99
RGBrgb(178, 45, 153)
HSLhsl(311, 60%, 44%)
HSVhsv(311, 75%, 70%)
CMYKcmyk(0%, 74.7%, 14%, 30.2%)
CIE-LABlab(43.72, 63.16, -29.24)
CIE-LCHlch(43.72, 69.60, 335.16°)
OKLaboklab(54.16% 0.1859 -0.0796)
OKLCHoklch(54.16% 0.202 336.8)
XYZxyz(25.0487, 13.6440, 31.4452)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D99 #2DB246
analogous
#882DB2 #B22D99 #B22D56
triadic
#B22D99 #99B22D #2D99B2
tetradic
#B22D99 #B2882D #2DB246 #2D56B2
square
#B22D99 #B2882D #2DB246 #2D56B2
split-complementary
#B22D99 #56B22D #2DB288
monochromatic
#501445 #81216F #B22D99 #D14BB8 #DE7CCB

Accessibility & contrast

On white

5.63
#B22D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B22D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D99
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D99#FFFFFF#000000##FFFFFF
##B22D991.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9C
Deuteranopia (green-blind)
#5F6F96
Tritanopia (blue-blind)
#BC3660
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22d99;
/* rgb */ color: rgb(178, 45, 153);
/* oklch */ color: oklch(54.2% 0.202 336.8);
Tailwind
colors: {
  custom: {
    50: '#cd74b7',
    500: '#b22d99',
    950: '#000000',
  },
}
SCSS
$custom: #b22d99;
$custom-light: #cd74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d99",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 311.278,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.20226,
    "h": 336.8
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#B22D99
secondary
#75C684
accent
#E36345
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22D99

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

Preview Lab → · Contrast checker → · Palette generator →

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