#B22D7B#B22D7B

#B22D7B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.184 H 349.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B22D7B
RGBrgb(178, 45, 123)
HSLhsl(325, 60%, 44%)
HSVhsv(325, 75%, 70%)
CMYKcmyk(0%, 74.7%, 30.9%, 30.2%)
CIE-LABlab(42.42, 59.20, -12.96)
CIE-LCHlch(42.42, 60.60, 347.65°)
OKLaboklab(52.8% 0.1808 -0.0339)
OKLCHoklch(52.8% 0.184 349.4)
XYZxyz(22.8748, 12.7744, 19.9961)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D7B #2DB264
analogous
#A62DB2 #B22D7B #B22D38
triadic
#B22D7B #7BB22D #2D7BB2
tetradic
#B22D7B #B2A62D #2DB264 #2D38B2
square
#B22D7B #B2A62D #2DB264 #2D38B2
split-complementary
#B22D7B #38B22D #2DB2A6
monochromatic
#501437 #812159 #B22D7B #D14B9A #DE7CB5

Accessibility & contrast

On white

5.91
#B22D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B22D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D7B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D7B#FFFFFF#000000##FFFFFF
##B22D7B1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#BF2550
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22d7b;
/* rgb */ color: rgb(178, 45, 123);
/* oklch */ color: oklch(52.8% 0.184 349.4);
Tailwind
colors: {
  custom: {
    50: '#cd73a1',
    500: '#b22d7b',
    950: '#000000',
  },
}
SCSS
$custom: #b22d7b;
$custom-light: #cd73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d7b",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 324.812,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.18391,
    "h": 349.4
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#B22D7B
secondary
#75C696
accent
#E38645
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B22D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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