#B22F84#B22F84

#B22F84 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.3% C 0.187 H 345.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B22F84
RGBrgb(178, 47, 132)
HSLhsl(321, 58%, 44%)
HSVhsv(321, 74%, 70%)
CMYKcmyk(0%, 73.6%, 25.8%, 30.2%)
CIE-LABlab(43.01, 59.64, -17.58)
CIE-LCHlch(43.01, 62.18, 343.57°)
OKLaboklab(53.35% 0.1807 -0.0467)
OKLCHoklch(53.35% 0.187 345.5)
XYZxyz(23.5425, 13.1665, 23.1269)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F84 #2FB25D
analogous
#9F2FB2 #B22F84 #B22F43
triadic
#B22F84 #84B22F #2F84B2
tetradic
#B22F84 #B29F2F #2FB25D #2F43B2
square
#B22F84 #B29F2F #2FB25D #2F43B2
split-complementary
#B22F84 #43B22F #2FB29F
monochromatic
#51153C #822260 #B22F84 #D04EA2 #DD7EBC

Accessibility & contrast

On white

5.78
#B22F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#B22F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F84
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F84#FFFFFF#000000##FFFFFF
##B22F841.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5786
Deuteranopia (green-blind)
#676E81
Tritanopia (blue-blind)
#BE2C55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22f84;
/* rgb */ color: rgb(178, 47, 132);
/* oklch */ color: oklch(53.3% 0.187 345.5);
Tailwind
colors: {
  custom: {
    50: '#cd74a8',
    500: '#b22f84',
    950: '#000000',
  },
}
SCSS
$custom: #b22f84;
$custom-light: #cd74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f84",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 321.069,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.18666,
    "h": 345.5
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#B22F84
secondary
#77C693
accent
#E17D46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22F84

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

Preview Lab → · Contrast checker → · Palette generator →

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