#B22D8F#B22D8F

#B22D8F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.7% C 0.196 H 340.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B22D8F
RGBrgb(178, 45, 143)
HSLhsl(316, 60%, 44%)
HSVhsv(316, 75%, 70%)
CMYKcmyk(0%, 74.7%, 19.7%, 30.2%)
CIE-LABlab(43.25, 61.76, -23.92)
CIE-LCHlch(43.25, 66.23, 338.83°)
OKLaboklab(53.67% 0.1847 -0.0645)
OKLCHoklch(53.67% 0.196 340.8)
XYZxyz(24.2571, 13.3274, 27.2762)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D8F #2DB250
analogous
#922DB2 #B22D8F #B22D4D
triadic
#B22D8F #8FB22D #2D8FB2
tetradic
#B22D8F #B2922D #2DB250 #2D4DB2
square
#B22D8F #B2922D #2DB250 #2D4DB2
split-complementary
#B22D8F #4DB22D #2DB292
monochromatic
#501441 #812168 #B22D8F #D14BAE #DE7CC4

Accessibility & contrast

On white

5.73
#B22D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D8F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D8F#FFFFFF#000000##FFFFFF
##B22D8F1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#BD305B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22d8f;
/* rgb */ color: rgb(178, 45, 143);
/* oklch */ color: oklch(53.7% 0.196 340.8);
Tailwind
colors: {
  custom: {
    50: '#cd73b0',
    500: '#b22d8f',
    950: '#000000',
  },
}
SCSS
$custom: #b22d8f;
$custom-light: #cd73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d8f",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 315.789,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.19563,
    "h": 340.8
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#B22D8F
secondary
#75C68A
accent
#E36F45
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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