#B22A52#B22A52

#B22A52 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 8.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B22A52
RGBrgb(178, 42, 82)
HSLhsl(342, 62%, 43%)
HSVhsv(342, 76%, 70%)
CMYKcmyk(0%, 76.4%, 53.9%, 30.2%)
CIE-LABlab(40.79, 56.11, 10.29)
CIE-LCHlch(40.79, 57.05, 10.39°)
OKLaboklab(51.18% 0.1706 0.0263)
OKLCHoklch(51.18% 0.173 8.7)
XYZxyz(20.7130, 11.7330, 9.1550)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A52 #2AB28A
analogous
#B22A96 #B22A52 #B2462A
triadic
#B22A52 #52B22A #2A52B2
tetradic
#B22A52 #96B22A #2AB28A #462AB2
square
#B22A52 #96B22A #2AB28A #462AB2
split-complementary
#B22A52 #2AB246 #2A96B2
monochromatic
#4F1324 #801E3B #B22A52 #D3466F #DF7796

Accessibility & contrast

On white

6.28
#B22A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B22A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A52
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A52#FFFFFF#000000##FFFFFF
##B22A521.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F53
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#C2003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22a52;
/* rgb */ color: rgb(178, 42, 82);
/* oklch */ color: oklch(51.2% 0.173 8.7);
Tailwind
colors: {
  custom: {
    50: '#cf7082',
    500: '#b22a52',
    950: '#000000',
  },
}
SCSS
$custom: #b22a52;
$custom-light: #cf7082;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a52",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 342.353,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.17264,
    "h": 8.7
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#B22A52
secondary
#71C7AE
accent
#E5B543
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B22A52

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

Preview Lab → · Contrast checker → · Palette generator →

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