#B22D5E#B22D5E

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

Color values

HEX#B22D5E
RGBrgb(178, 45, 94)
HSLhsl(338, 60%, 44%)
HSVhsv(338, 75%, 70%)
CMYKcmyk(0%, 74.7%, 47.2%, 30.2%)
CIE-LABlab(41.46, 56.14, 3.68)
CIE-LCHlch(41.46, 56.26, 3.75°)
OKLaboklab(51.78% 0.1719 0.01)
OKLCHoklch(51.78% 0.172 3.3)
XYZxyz(21.3206, 12.1527, 11.8105)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22D5E #2DB281
analogous
#B22DA0 #B22D5E #B23F2D
triadic
#B22D5E #5EB22D #2D5EB2
tetradic
#B22D5E #A0B22D #2DB281 #3F2DB2
square
#B22D5E #A0B22D #2DB281 #3F2DB2
split-complementary
#B22D5E #2DB23F #2DA0B2
monochromatic
#50142A #812144 #B22D5E #D14B7C #DE7CA0

Accessibility & contrast

On white

6.12
#B22D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22D5E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22D5E#FFFFFF#000000##FFFFFF
##B22D5E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#706B5B
Tritanopia (blue-blind)
#C21242
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b22d5e;
/* rgb */ color: rgb(178, 45, 94);
/* oklch */ color: oklch(51.8% 0.172 3.3);
Tailwind
colors: {
  custom: {
    50: '#cf728b',
    500: '#b22d5e',
    950: '#000000',
  },
}
SCSS
$custom: #b22d5e;
$custom-light: #cf728b;
$custom-dark: #000000;
JSON
{
  "hex": "#b22d5e",
  "rgb": {
    "r": 178,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 337.895,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.17221,
    "h": 3.3
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#B22D5E
secondary
#75C6A8
accent
#E3A945
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B22D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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