#B22F92#B22F92

#B22F92 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.195 H 339.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B22F92
RGBrgb(178, 47, 146)
HSLhsl(315, 58%, 44%)
HSVhsv(315, 74%, 70%)
CMYKcmyk(0%, 73.6%, 18%, 30.2%)
CIE-LABlab(43.62, 61.52, -25.17)
CIE-LCHlch(43.62, 66.47, 337.75°)
OKLaboklab(53.98% 0.1832 -0.068)
OKLCHoklch(53.98% 0.195 339.6)
XYZxyz(24.5656, 13.5757, 28.5152)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F92 #2FB24F
analogous
#902FB2 #B22F92 #B22F51
triadic
#B22F92 #92B22F #2F92B2
tetradic
#B22F92 #B2902F #2FB24F #2F51B2
square
#B22F92 #B2902F #2FB24F #2F51B2
split-complementary
#B22F92 #51B22F #2FB290
monochromatic
#511543 #82226A #B22F92 #D04EB0 #DD7EC6

Accessibility & contrast

On white

5.65
#B22F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B22F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F92
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F92#FFFFFF#000000##FFFFFF
##B22F921.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A95
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#BC345D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22f92;
/* rgb */ color: rgb(178, 47, 146);
/* oklch */ color: oklch(54.0% 0.195 339.6);
Tailwind
colors: {
  custom: {
    50: '#cd74b2',
    500: '#b22f92',
    950: '#000000',
  },
}
SCSS
$custom: #b22f92;
$custom-light: #cd74b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f92",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 314.656,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53982,
    "c": 0.19537,
    "h": 339.6
  },
  "luminance": 0.13573
}

Semantic roles & 50–950 ramp

primary
#B22F92
secondary
#77C68A
accent
#E16C46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22F92

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

Preview Lab → · Contrast checker → · Palette generator →

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