#B22C9F#B22C9F

#B22C9F is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 334.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B22C9F
RGBrgb(178, 44, 159)
HSLhsl(309, 60%, 44%)
HSVhsv(309, 75%, 70%)
CMYKcmyk(0%, 75.3%, 10.7%, 30.2%)
CIE-LABlab(43.90, 64.36, -32.55)
CIE-LCHlch(43.90, 72.12, 333.17°)
OKLaboklab(54.39% 0.1874 -0.0891)
OKLCHoklch(54.39% 0.207 334.6)
XYZxyz(25.5191, 13.7718, 34.1084)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22C9F #2CB23F
analogous
#822CB2 #B22C9F #B22C5C
triadic
#B22C9F #9FB22C #2C9FB2
tetradic
#B22C9F #B2822C #2CB23F #2C5CB2
square
#B22C9F #B2822C #2CB23F #2C5CB2
split-complementary
#B22C9F #5CB22C #2CB282
monochromatic
#501447 #812073 #B22C9F #D249BF #DE7AD0

Accessibility & contrast

On white

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

On black

3.75
#B22C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22C9F#FFFFFF#000000##FFFFFF
##B22C9F1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#5C6F9C
Tritanopia (blue-blind)
#BB3863
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22c9f;
/* rgb */ color: rgb(178, 44, 159);
/* oklch */ color: oklch(54.4% 0.207 334.6);
Tailwind
colors: {
  custom: {
    50: '#cd73bc',
    500: '#b22c9f',
    950: '#000000',
  },
}
SCSS
$custom: #b22c9f;
$custom-light: #cd73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b22c9f",
  "rgb": {
    "r": 178,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 308.507,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.20747,
    "h": 334.6
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#B22C9F
secondary
#73C67F
accent
#E45B44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B22C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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