#B22A57#B22A57

#B22A57 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.174 H 6.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B22A57
RGBrgb(178, 42, 87)
HSLhsl(340, 62%, 43%)
HSVhsv(340, 76%, 70%)
CMYKcmyk(0%, 76.4%, 51.1%, 30.2%)
CIE-LABlab(40.92, 56.51, 7.32)
CIE-LCHlch(40.92, 56.99, 7.38°)
OKLaboklab(51.31% 0.1725 0.0191)
OKLCHoklch(51.31% 0.174 6.3)
XYZxyz(20.9102, 11.8119, 10.1938)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A57 #2AB285
analogous
#B22A9B #B22A57 #B2412A
triadic
#B22A57 #57B22A #2A57B2
tetradic
#B22A57 #9BB22A #2AB285 #412AB2
square
#B22A57 #9BB22A #2AB285 #412AB2
split-complementary
#B22A57 #2AB241 #2A9BB2
monochromatic
#4F1327 #801E3F #B22A57 #D34675 #DF779A

Accessibility & contrast

On white

6.25
#B22A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B22A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A57
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A57#FFFFFF#000000##FFFFFF
##B22A571.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F58
Deuteranopia (green-blind)
#706A54
Tritanopia (blue-blind)
#C2023D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b22a57;
/* rgb */ color: rgb(178, 42, 87);
/* oklch */ color: oklch(51.3% 0.174 6.3);
Tailwind
colors: {
  custom: {
    50: '#cf7086',
    500: '#b22a57',
    950: '#000000',
  },
}
SCSS
$custom: #b22a57;
$custom-light: #cf7086;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a57",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 340.147,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.17358,
    "h": 6.3
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#B22A57
secondary
#71C7AA
accent
#E5AF43
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B22A57

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

Preview Lab → · Contrast checker → · Palette generator →

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