#B22A5D#B22A5D

#B22A5D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 3.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B22A5D
RGBrgb(178, 42, 93)
HSLhsl(338, 62%, 43%)
HSVhsv(338, 76%, 70%)
CMYKcmyk(0%, 76.4%, 47.8%, 30.2%)
CIE-LABlab(41.08, 57.03, 3.77)
CIE-LCHlch(41.08, 57.16, 3.78°)
OKLaboklab(51.49% 0.1747 0.0103)
OKLCHoklch(51.49% 0.175 3.4)
XYZxyz(21.1656, 11.9141, 11.5389)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A5D #2AB27F
analogous
#B22AA1 #B22A5D #B23B2A
triadic
#B22A5D #5DB22A #2A5DB2
tetradic
#B22A5D #A1B22A #2AB27F #3B2AB2
square
#B22A5D #A1B22A #2AB27F #3B2AB2
split-complementary
#B22A5D #2AB23B #2AA1B2
monochromatic
#4F1329 #801E43 #B22A5D #D3467B #DF779E

Accessibility & contrast

On white

6.21
#B22A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B22A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A5D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A5D#FFFFFF#000000##FFFFFF
##B22A5D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#6F6A5A
Tritanopia (blue-blind)
#C20940
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b22a5d;
/* rgb */ color: rgb(178, 42, 93);
/* oklch */ color: oklch(51.5% 0.175 3.4);
Tailwind
colors: {
  custom: {
    50: '#cf708a',
    500: '#b22a5d',
    950: '#000000',
  },
}
SCSS
$custom: #b22a5d;
$custom-light: #cf708a;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a5d",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 337.5,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.17502,
    "h": 3.4
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#B22A5D
secondary
#71C7A7
accent
#E5A843
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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