#B22A51#B22A51

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

Color values

HEX#B22A51
RGBrgb(178, 42, 81)
HSLhsl(343, 62%, 43%)
HSVhsv(343, 76%, 70%)
CMYKcmyk(0%, 76.4%, 54.5%, 30.2%)
CIE-LABlab(40.76, 56.03, 10.89)
CIE-LCHlch(40.76, 57.08, 11.00°)
OKLaboklab(51.15% 0.1703 0.0277)
OKLCHoklch(51.15% 0.172 9.2)
XYZxyz(20.6752, 11.7179, 8.9561)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A51 #2AB28B
analogous
#B22A95 #B22A51 #B2472A
triadic
#B22A51 #51B22A #2A51B2
tetradic
#B22A51 #95B22A #2AB28B #472AB2
square
#B22A51 #95B22A #2AB28B #472AB2
split-complementary
#B22A51 #2AB247 #2A95B2
monochromatic
#4F1324 #801E3A #B22A51 #D3466E #DF7795

Accessibility & contrast

On white

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

On black

3.34
#B22A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B22A51#FFFFFF#000000##FFFFFF
##B22A511.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22a51;
/* rgb */ color: rgb(178, 42, 81);
/* oklch */ color: oklch(51.2% 0.172 9.2);
Tailwind
colors: {
  custom: {
    50: '#cf7081',
    500: '#b22a51',
    950: '#000000',
  },
}
SCSS
$custom: #b22a51;
$custom-light: #cf7081;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a51",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 342.794,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.17249,
    "h": 9.2
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22A51

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

Preview Lab → · Contrast checker → · Palette generator →

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