#B22F9A#B22F9A

#B22F9A is a mid, highly saturated pink. Relative luminance 0.138; OKLCH L 54.4% C 0.201 H 336.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B22F9A
RGBrgb(178, 47, 154)
HSLhsl(311, 58%, 44%)
HSVhsv(311, 74%, 70%)
CMYKcmyk(0%, 73.6%, 13.5%, 30.2%)
CIE-LABlab(43.99, 62.66, -29.41)
CIE-LCHlch(43.99, 69.22, 334.86°)
OKLaboklab(54.37% 0.1841 -0.0801)
OKLCHoklch(54.37% 0.201 336.5)
XYZxyz(25.2098, 13.8334, 31.9080)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F9A #2FB247
analogous
#892FB2 #B22F9A #B22F59
triadic
#B22F9A #9AB22F #2F9AB2
tetradic
#B22F9A #B2892F #2FB247 #2F59B2
square
#B22F9A #B2892F #2FB247 #2F59B2
split-complementary
#B22F9A #59B22F #2FB289
monochromatic
#511546 #822270 #B22F9A #D04EB8 #DD7ECC

Accessibility & contrast

On white

5.58
#B22F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B22F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F9A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F9A#FFFFFF#000000##FFFFFF
##B22F9A1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#BB3861
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22f9a;
/* rgb */ color: rgb(178, 47, 154);
/* oklch */ color: oklch(54.4% 0.201 336.5);
Tailwind
colors: {
  custom: {
    50: '#cd75b8',
    500: '#b22f9a',
    950: '#000000',
  },
}
SCSS
$custom: #b22f9a;
$custom-light: #cd75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f9a",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 310.992,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.20078,
    "h": 336.5
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#B22F9A
secondary
#77C685
accent
#E16346
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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