#B22D7E#B22D7E

#B22D7E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.186 H 348.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B22D7E
RGBrgb(178, 45, 126)
HSLhsl(323, 60%, 44%)
HSVhsv(323, 75%, 70%)
CMYKcmyk(0%, 74.7%, 29.2%, 30.2%)
CIE-LABlab(42.54, 59.56, -14.63)
CIE-LCHlch(42.54, 61.33, 346.20°)
OKLaboklab(52.92% 0.1815 -0.0385)
OKLCHoklch(52.92% 0.186 348)
XYZxyz(23.0655, 12.8507, 21.0004)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D7E #2DB261
analogous
#A32DB2 #B22D7E #B22D3B
triadic
#B22D7E #7EB22D #2D7EB2
tetradic
#B22D7E #B2A32D #2DB261 #2D3BB2
square
#B22D7E #B2A32D #2DB261 #2D3BB2
split-complementary
#B22D7E #3BB22D #2DB2A3
monochromatic
#501439 #81215B #B22D7E #D14B9D #DE7CB7

Accessibility & contrast

On white

5.88
#B22D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D7E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D7E#FFFFFF#000000##FFFFFF
##B22D7E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#BF2752
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22d7e;
/* rgb */ color: rgb(178, 45, 126);
/* oklch */ color: oklch(52.9% 0.186 348.0);
Tailwind
colors: {
  custom: {
    50: '#cd73a3',
    500: '#b22d7e',
    950: '#000000',
  },
}
SCSS
$custom: #b22d7e;
$custom-light: #cd73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d7e",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 323.459,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.18551,
    "h": 348
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#B22D7E
secondary
#75C695
accent
#E38345
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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