#B22D5D#B22D5D

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

Color values

HEX#B22D5D
RGBrgb(178, 45, 93)
HSLhsl(338, 60%, 44%)
HSVhsv(338, 75%, 70%)
CMYKcmyk(0%, 74.7%, 47.8%, 30.2%)
CIE-LABlab(41.43, 56.05, 4.27)
CIE-LCHlch(41.43, 56.21, 4.36°)
OKLaboklab(51.75% 0.1716 0.0115)
OKLCHoklch(51.75% 0.172 3.8)
XYZxyz(21.2760, 12.1349, 11.5757)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D5D #2DB282
analogous
#B22D9F #B22D5D #B23F2D
triadic
#B22D5D #5DB22D #2D5DB2
tetradic
#B22D5D #9FB22D #2DB282 #3F2DB2
square
#B22D5D #9FB22D #2DB282 #3F2DB2
split-complementary
#B22D5D #2DB23F #2D9FB2
monochromatic
#50142A #812143 #B22D5D #D14B7B #DE7C9F

Accessibility & contrast

On white

6.13
#B22D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B22D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22D5D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D5D#FFFFFF#000000##FFFFFF
##B22D5D1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#706B5A
Tritanopia (blue-blind)
#C21141
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22d5d;
/* rgb */ color: rgb(178, 45, 93);
/* oklch */ color: oklch(51.7% 0.172 3.8);
Tailwind
colors: {
  custom: {
    50: '#cf728a',
    500: '#b22d5d',
    950: '#000000',
  },
}
SCSS
$custom: #b22d5d;
$custom-light: #cf728a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d5d",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 338.346,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.17195,
    "h": 3.8
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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