#B22D7C#B22D7C

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

Color values

HEX#B22D7C
RGBrgb(178, 45, 124)
HSLhsl(324, 60%, 44%)
HSVhsv(324, 75%, 70%)
CMYKcmyk(0%, 74.7%, 30.3%, 30.2%)
CIE-LABlab(42.46, 59.32, -13.51)
CIE-LCHlch(42.46, 60.84, 347.17°)
OKLaboklab(52.84% 0.181 -0.0354)
OKLCHoklch(52.84% 0.184 348.9)
XYZxyz(22.9378, 12.7996, 20.3275)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D7C #2DB263
analogous
#A52DB2 #B22D7C #B22D39
triadic
#B22D7C #7CB22D #2D7CB2
tetradic
#B22D7C #B2A52D #2DB263 #2D39B2
square
#B22D7C #B2A52D #2DB263 #2D39B2
split-complementary
#B22D7C #39B22D #2DB2A5
monochromatic
#501438 #81215A #B22D7C #D14B9B #DE7CB6

Accessibility & contrast

On white

5.90
#B22D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B22D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D7C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D7C#FFFFFF#000000##FFFFFF
##B22D7C1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#BF2651
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22d7c;
/* rgb */ color: rgb(178, 45, 124);
/* oklch */ color: oklch(52.8% 0.184 348.9);
Tailwind
colors: {
  custom: {
    50: '#cd73a2',
    500: '#b22d7c',
    950: '#000000',
  },
}
SCSS
$custom: #b22d7c;
$custom-light: #cd73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d7c",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 324.361,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.18444,
    "h": 348.9
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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