#B22D8B#B22D8B

#B22D8B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.193 H 342.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B22D8B
RGBrgb(178, 45, 139)
HSLhsl(318, 60%, 44%)
HSVhsv(318, 75%, 70%)
CMYKcmyk(0%, 74.7%, 21.9%, 30.2%)
CIE-LABlab(43.08, 61.22, -21.76)
CIE-LCHlch(43.08, 64.97, 340.43°)
OKLaboklab(53.49% 0.1841 -0.0584)
OKLCHoklch(53.49% 0.193 342.4)
XYZxyz(23.9595, 13.2083, 25.7087)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D8B #2DB254
analogous
#962DB2 #B22D8B #B22D48
triadic
#B22D8B #8BB22D #2D8BB2
tetradic
#B22D8B #B2962D #2DB254 #2D48B2
square
#B22D8B #B2962D #2DB254 #2D48B2
split-complementary
#B22D8B #48B22D #2DB296
monochromatic
#50143F #812165 #B22D8B #D14BAA #DE7CC1

Accessibility & contrast

On white

5.77
#B22D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B22D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D8B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D8B#FFFFFF#000000##FFFFFF
##B22D8B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#BD2E58
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22d8b;
/* rgb */ color: rgb(178, 45, 139);
/* oklch */ color: oklch(53.5% 0.193 342.4);
Tailwind
colors: {
  custom: {
    50: '#cd73ad',
    500: '#b22d8b',
    950: '#000000',
  },
}
SCSS
$custom: #b22d8b;
$custom-light: #cd73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d8b",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 317.594,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.19309,
    "h": 342.4
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#B22D8B
secondary
#75C68D
accent
#E37345
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B22D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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