#B22F9C#B22F9C

#B22F9C is a mid, highly saturated pink. Relative luminance 0.139; OKLCH L 54.5% C 0.202 H 335.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B22F9C
RGBrgb(178, 47, 156)
HSLhsl(310, 58%, 44%)
HSVhsv(310, 74%, 70%)
CMYKcmyk(0%, 73.6%, 12.4%, 30.2%)
CIE-LABlab(44.09, 62.96, -30.46)
CIE-LCHlch(44.09, 69.94, 334.18°)
OKLaboklab(54.48% 0.1843 -0.0831)
OKLCHoklch(54.48% 0.202 335.7)
XYZxyz(25.3777, 13.9006, 32.7926)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F9C #2FB245
analogous
#872FB2 #B22F9C #B22F5B
triadic
#B22F9C #9CB22F #2F9CB2
tetradic
#B22F9C #B2872F #2FB245 #2F5BB2
square
#B22F9C #B2872F #2FB245 #2F5BB2
split-complementary
#B22F9C #5BB22F #2FB287
monochromatic
#511547 #822272 #B22F9C #D04EBA #DD7ECD

Accessibility & contrast

On white

5.56
#B22F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B22F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F9C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F9C#FFFFFF#000000##FFFFFF
##B22F9C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#5E6F99
Tritanopia (blue-blind)
#BB3962
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22f9c;
/* rgb */ color: rgb(178, 47, 156);
/* oklch */ color: oklch(54.5% 0.202 335.7);
Tailwind
colors: {
  custom: {
    50: '#cd75b9',
    500: '#b22f9c',
    950: '#000000',
  },
}
SCSS
$custom: #b22f9c;
$custom-light: #cd75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f9c",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 310.076,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54476,
    "c": 0.20218,
    "h": 335.7
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#B22F9C
secondary
#77C684
accent
#E16046
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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