#B22D81#B22D81

#B22D81 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.187 H 346.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B22D81
RGBrgb(178, 45, 129)
HSLhsl(322, 60%, 44%)
HSVhsv(322, 75%, 70%)
CMYKcmyk(0%, 74.7%, 27.5%, 30.2%)
CIE-LABlab(42.66, 59.93, -16.29)
CIE-LCHlch(42.66, 62.10, 344.79°)
OKLaboklab(53.04% 0.1821 -0.0431)
OKLCHoklch(53.04% 0.187 346.7)
XYZxyz(23.2620, 12.9293, 22.0352)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D81 #2DB25E
analogous
#A02DB2 #B22D81 #B22D3F
triadic
#B22D81 #81B22D #2D81B2
tetradic
#B22D81 #B2A02D #2DB25E #2D3FB2
square
#B22D81 #B2A02D #2DB25E #2D3FB2
split-complementary
#B22D81 #3FB22D #2DB2A0
monochromatic
#50143A #81215E #B22D81 #D14BA0 #DE7CBA

Accessibility & contrast

On white

5.86
#B22D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B22D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D81
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D81#FFFFFF#000000##FFFFFF
##B22D811.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#676D7E
Tritanopia (blue-blind)
#BE2953
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b22d81;
/* rgb */ color: rgb(178, 45, 129);
/* oklch */ color: oklch(53.0% 0.187 346.7);
Tailwind
colors: {
  custom: {
    50: '#cd73a5',
    500: '#b22d81',
    950: '#000000',
  },
}
SCSS
$custom: #b22d81;
$custom-light: #cd73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d81",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 322.105,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.18717,
    "h": 346.7
  },
  "luminance": 0.12927
}

Semantic roles & 50–950 ramp

primary
#B22D81
secondary
#75C693
accent
#E37F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22D81

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

Preview Lab → · Contrast checker → · Palette generator →

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