#B22D7F#B22D7F

#B22D7F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.186 H 347.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B22D7F
RGBrgb(178, 45, 127)
HSLhsl(323, 60%, 44%)
HSVhsv(323, 75%, 70%)
CMYKcmyk(0%, 74.7%, 28.7%, 30.2%)
CIE-LABlab(42.58, 59.68, -15.18)
CIE-LCHlch(42.58, 61.58, 345.73°)
OKLaboklab(52.96% 0.1817 -0.04)
OKLCHoklch(52.96% 0.186 347.6)
XYZxyz(23.1304, 12.8766, 21.3419)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D7F #2DB260
analogous
#A22DB2 #B22D7F #B22D3C
triadic
#B22D7F #7FB22D #2D7FB2
tetradic
#B22D7F #B2A22D #2DB260 #2D3CB2
square
#B22D7F #B2A22D #2DB260 #2D3CB2
split-complementary
#B22D7F #3CB22D #2DB2A2
monochromatic
#501439 #81215C #B22D7F #D14B9E #DE7CB8

Accessibility & contrast

On white

5.87
#B22D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B22D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D7F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D7F#FFFFFF#000000##FFFFFF
##B22D7F1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#BF2852
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22d7f;
/* rgb */ color: rgb(178, 45, 127);
/* oklch */ color: oklch(53.0% 0.186 347.6);
Tailwind
colors: {
  custom: {
    50: '#cd73a4',
    500: '#b22d7f',
    950: '#000000',
  },
}
SCSS
$custom: #b22d7f;
$custom-light: #cd73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d7f",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 323.008,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52961,
    "c": 0.18606,
    "h": 347.6
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#B22D7F
secondary
#75C694
accent
#E38245
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B22D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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