#B22D8E#B22D8E

#B22D8E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 341.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B22D8E
RGBrgb(178, 45, 142)
HSLhsl(316, 60%, 44%)
HSVhsv(316, 75%, 70%)
CMYKcmyk(0%, 74.7%, 20.2%, 30.2%)
CIE-LABlab(43.21, 61.62, -23.38)
CIE-LCHlch(43.21, 65.91, 339.22°)
OKLaboklab(53.63% 0.1846 -0.0629)
OKLCHoklch(53.63% 0.195 341.2)
XYZxyz(24.1817, 13.2972, 26.8790)
Luminance0.1330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D8E #2DB251
analogous
#932DB2 #B22D8E #B22D4B
triadic
#B22D8E #8EB22D #2D8EB2
tetradic
#B22D8E #B2932D #2DB251 #2D4BB2
square
#B22D8E #B2932D #2DB251 #2D4BB2
split-complementary
#B22D8E #4BB22D #2DB293
monochromatic
#501440 #812167 #B22D8E #D14BAD #DE7CC3

Accessibility & contrast

On white

5.74
#B22D8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B22D8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D8E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D8E#FFFFFF#000000##FFFFFF
##B22D8E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#BD305A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22d8e;
/* rgb */ color: rgb(178, 45, 142);
/* oklch */ color: oklch(53.6% 0.195 341.2);
Tailwind
colors: {
  custom: {
    50: '#cd73af',
    500: '#b22d8e',
    950: '#000000',
  },
}
SCSS
$custom: #b22d8e;
$custom-light: #cd73af;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d8e",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 316.241,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.19499,
    "h": 341.2
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#B22D8E
secondary
#75C68B
accent
#E37045
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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