#B22F9B#B22F9B

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

Color values

HEX#B22F9B
RGBrgb(178, 47, 155)
HSLhsl(311, 58%, 44%)
HSVhsv(311, 74%, 70%)
CMYKcmyk(0%, 73.6%, 12.9%, 30.2%)
CIE-LABlab(44.04, 62.81, -29.93)
CIE-LCHlch(44.04, 69.58, 334.52°)
OKLaboklab(54.43% 0.1842 -0.0816)
OKLCHoklch(54.43% 0.201 336.1)
XYZxyz(25.2934, 13.8669, 32.3485)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F9B #2FB246
analogous
#882FB2 #B22F9B #B22F5A
triadic
#B22F9B #9BB22F #2F9BB2
tetradic
#B22F9B #B2882F #2FB246 #2F5AB2
square
#B22F9B #B2882F #2FB246 #2F5AB2
split-complementary
#B22F9B #5AB22F #2FB288
monochromatic
#511547 #822271 #B22F9B #D04EB9 #DD7ECC

Accessibility & contrast

On white

5.57
#B22F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22F9B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F9B#FFFFFF#000000##FFFFFF
##B22F9B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9E
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#BB3862
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22f9b;
/* rgb */ color: rgb(178, 47, 155);
/* oklch */ color: oklch(54.4% 0.201 336.1);
Tailwind
colors: {
  custom: {
    50: '#cd75b9',
    500: '#b22f9b',
    950: '#000000',
  },
}
SCSS
$custom: #b22f9b;
$custom-light: #cd75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f9b",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 310.534,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.20148,
    "h": 336.1
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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