#B22F97#B22F97

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

Color values

HEX#B22F97
RGBrgb(178, 47, 151)
HSLhsl(312, 58%, 44%)
HSVhsv(312, 74%, 70%)
CMYKcmyk(0%, 73.6%, 15.2%, 30.2%)
CIE-LABlab(43.85, 62.23, -27.83)
CIE-LCHlch(43.85, 68.17, 335.91°)
OKLaboklab(54.23% 0.1838 -0.0756)
OKLCHoklch(54.23% 0.199 337.6)
XYZxyz(24.9630, 13.7347, 30.6085)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F97 #2FB24A
analogous
#8C2FB2 #B22F97 #B22F56
triadic
#B22F97 #97B22F #2F97B2
tetradic
#B22F97 #B28C2F #2FB24A #2F56B2
square
#B22F97 #B28C2F #2FB24A #2F56B2
split-complementary
#B22F97 #56B22F #2FB28C
monochromatic
#511545 #82226E #B22F97 #D04EB5 #DD7ECA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22F97#FFFFFF#000000##FFFFFF
##B22F971.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#BC3660
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22f97;
/* rgb */ color: rgb(178, 47, 151);
/* oklch */ color: oklch(54.2% 0.199 337.6);
Tailwind
colors: {
  custom: {
    50: '#cd74b6',
    500: '#b22f97',
    950: '#000000',
  },
}
SCSS
$custom: #b22f97;
$custom-light: #cd74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f97",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 312.366,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.19872,
    "h": 337.6
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#B22F97
secondary
#77C687
accent
#E16646
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F97

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

Preview Lab → · Contrast checker → · Palette generator →

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