#B22D9B#B22D9B

#B22D9B is a mid, highly saturated pink. Relative luminance 0.137; OKLCH L 54.3% C 0.204 H 336.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B22D9B
RGBrgb(178, 45, 155)
HSLhsl(310, 60%, 44%)
HSVhsv(310, 75%, 70%)
CMYKcmyk(0%, 74.7%, 12.9%, 30.2%)
CIE-LABlab(43.81, 63.45, -30.29)
CIE-LCHlch(43.81, 70.31, 334.48°)
OKLaboklab(54.26% 0.1861 -0.0826)
OKLCHoklch(54.26% 0.204 336.1)
XYZxyz(25.2153, 13.7106, 32.3224)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D9B #2DB244
analogous
#862DB2 #B22D9B #B22D58
triadic
#B22D9B #9BB22D #2D9BB2
tetradic
#B22D9B #B2862D #2DB244 #2D58B2
square
#B22D9B #B2862D #2DB244 #2D58B2
split-complementary
#B22D9B #58B22D #2DB286
monochromatic
#501446 #812170 #B22D9B #D14BBA #DE7CCD

Accessibility & contrast

On white

5.61
#B22D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B22D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D9B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D9B#FFFFFF#000000##FFFFFF
##B22D9B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#BB3761
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b22d9b;
/* rgb */ color: rgb(178, 45, 155);
/* oklch */ color: oklch(54.3% 0.204 336.1);
Tailwind
colors: {
  custom: {
    50: '#cd74b9',
    500: '#b22d9b',
    950: '#000000',
  },
}
SCSS
$custom: #b22d9b;
$custom-light: #cd74b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d9b",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 310.376,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.20363,
    "h": 336.1
  },
  "luminance": 0.13708
}

Semantic roles & 50–950 ramp

primary
#B22D9B
secondary
#75C683
accent
#E36045
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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