#B22D5C#B22D5C

#B22D5C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.172 H 4.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B22D5C
RGBrgb(178, 45, 92)
HSLhsl(339, 60%, 44%)
HSVhsv(339, 75%, 70%)
CMYKcmyk(0%, 74.7%, 48.3%, 30.2%)
CIE-LABlab(41.40, 55.96, 4.86)
CIE-LCHlch(41.40, 56.17, 4.96°)
OKLaboklab(51.72% 0.1712 0.013)
OKLCHoklch(51.72% 0.172 4.3)
XYZxyz(21.2320, 12.1173, 11.3440)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D5C #2DB283
analogous
#B22D9E #B22D5C #B2402D
triadic
#B22D5C #5CB22D #2D5CB2
tetradic
#B22D5C #9EB22D #2DB283 #402DB2
square
#B22D5C #9EB22D #2DB283 #402DB2
split-complementary
#B22D5C #2DB240 #2D9EB2
monochromatic
#50142A #812143 #B22D5C #D14B7A #DE7C9E

Accessibility & contrast

On white

6.14
#B22D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B22D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D5C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D5C#FFFFFF#000000##FFFFFF
##B22D5C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#706B59
Tritanopia (blue-blind)
#C21041
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22d5c;
/* rgb */ color: rgb(178, 45, 92);
/* oklch */ color: oklch(51.7% 0.172 4.3);
Tailwind
colors: {
  custom: {
    50: '#cf7289',
    500: '#b22d5c',
    950: '#000000',
  },
}
SCSS
$custom: #b22d5c;
$custom-light: #cf7289;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d5c",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 338.797,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.17169,
    "h": 4.3
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#B22D5C
secondary
#75C6A9
accent
#E3AB45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B22D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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