#B22F96#B22F96

#B22F96 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.2% C 0.198 H 338.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B22F96
RGBrgb(178, 47, 150)
HSLhsl(313, 58%, 44%)
HSVhsv(313, 74%, 70%)
CMYKcmyk(0%, 73.6%, 15.7%, 30.2%)
CIE-LABlab(43.80, 62.08, -27.30)
CIE-LCHlch(43.80, 67.82, 336.27°)
OKLaboklab(54.18% 0.1837 -0.0741)
OKLCHoklch(54.18% 0.198 338)
XYZxyz(24.8822, 13.7024, 30.1826)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F96 #2FB24B
analogous
#8D2FB2 #B22F96 #B22F55
triadic
#B22F96 #96B22F #2F96B2
tetradic
#B22F96 #B28D2F #2FB24B #2F55B2
square
#B22F96 #B28D2F #2FB24B #2F55B2
split-complementary
#B22F96 #55B22F #2FB28D
monochromatic
#511544 #82226D #B22F96 #D04EB4 #DD7EC9

Accessibility & contrast

On white

5.61
#B22F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B22F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F96
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F96#FFFFFF#000000##FFFFFF
##B22F961.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B99
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#BC365F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22f96;
/* rgb */ color: rgb(178, 47, 150);
/* oklch */ color: oklch(54.2% 0.198 338.0);
Tailwind
colors: {
  custom: {
    50: '#cd74b5',
    500: '#b22f96',
    950: '#000000',
  },
}
SCSS
$custom: #b22f96;
$custom-light: #cd74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f96",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 312.824,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.19804,
    "h": 338
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#B22F96
secondary
#77C688
accent
#E16846
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F96

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

Preview Lab → · Contrast checker → · Palette generator →

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